Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #341
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: Build and Test | |
on: | |
push: | |
branches: [ main, testing ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ main, testing ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SA_PASSWORD: NotASecret!12 # ([SuppressMessage\("Microsoft.Security", "CS001:SecretInline", Justification="This isn't a real prod secret, it is a local DB instance instantiated on demand."\)] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
env: | |
NUGET_AUTH_TOKEN: RequiredButNotUsed | |
- name: NuGet Restore | |
run: dotnet restore -v n | |
- name: Build | |
run: dotnet build | |
- name: Setup SQL Server container | |
run: test/setup.ps1 | |
shell: pwsh | |
- name: Durable framework tests | |
run: dotnet test --no-build --verbosity normal --filter Category!=Stress ./test/DurableTask.SqlServer.Tests/DurableTask.SqlServer.Tests.csproj | |
- name: Functions runtime tests | |
run: dotnet test --no-build --verbosity normal ./test/DurableTask.SqlServer.AzureFunctions.Tests/DurableTask.SqlServer.AzureFunctions.Tests.csproj |