Skip to content

Syntax fix?

Syntax fix? #23

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x', '7.0.x', '8.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: {{ matrix.dotnet-version }}

Check failure on line 22 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / .NET

Invalid workflow file

The workflow is not valid. .github/workflows/dotnet.yml (Line: 22, Col: 27): A mapping was not expected
- name: Display dotnet version
run: dotnet --version
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
timeout-minutes: 2
run: dotnet test --no-build --verbosity normal --blame-hang-timeout 45s --blame-hang-dump-type full
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
with:
name: TestResults
path: |
/home/runner/work/Activout.RestClient/Activout.RestClient/Activout.RestClient.Test/TestResults/