build(deps-dev): bump braces from 3.0.2 to 3.0.3 #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI / Automated testing | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set Global Environment Variables | |
shell: bash | |
run: | | |
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" >> $GITHUB_ENV | |
echo "DOTNET_NOLOGO=1" >> $GITHUB_ENV | |
- name: Dependency Caching | |
uses: actions/cache@v3 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Restore .NET Dependencies | |
run: dotnet restore --nologo --locked-mode | |
- name: Build | |
run: dotnet build -c Release --no-restore --nologo /p:CopyLocalLockFileAssemblies=true | |
- name: Format | |
run: dotnet format --no-restore | |
- name: Up deps | |
run: docker compose up -d | |
- name: Test | |
run: dotnet test -c Release --no-build --nologo --filter FullyQualifiedName\!~SecurityTests | |
env: | |
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | |
POSTGRES_USER: ${{ secrets.POSTGRES_USER }} | |
- name: Down deps | |
run: docker compose down |