From ad6136100833d9654e680033d96eac400c9b6afa Mon Sep 17 00:00:00 2001 From: Sandoun <72068105+Sandoun@users.noreply.github.com> Date: Fri, 16 Jun 2023 10:39:41 +0200 Subject: [PATCH] Use setup dotnet v2 --- .github/workflows/build-pipeline.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index c53664d..9291bc6 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -29,19 +29,19 @@ jobs: name: 'Run unit tests' needs: check-plcs-online runs-on: [self-hosted, linux, x64, womed-local-linux] - strategy: - matrix: - dotnet-version: [ '6.0.x' ] steps: - uses: actions/checkout@v3 - - name: 'Setup dotnet ${{ matrix.dotnet-version }}' + + - name: 'Setup dotnet' uses: actions/setup-dotnet@v2 with: - dotnet-version: ${{ matrix.dotnet-version }} + dotnet-version: '6.0.x' + - name: 'Run tests' run: | cd '${{ github.workspace }}/MewtocolTests' dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + #Upload to codecov - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 @@ -57,9 +57,9 @@ jobs: - uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v2 with: - dotnet-version: 6.0.x + dotnet-version: '6.0.x' - name: Restore dependencies run: dotnet restore