Skip to content

Add several tests for application startup #2

Add several tests for application startup

Add several tests for application startup #2

Workflow file for this run

name: "Run tests"
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '6.0.x', '7.0.x' ]
name: ".NET tests ({{ $matrix.dotnet }})"
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
id: stepid
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Create temporary global.json
run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json

Check failure on line 20 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Restore packages
run: dotnet restore --locked-mode
- name: Run tests
run: dotnet test