Skip to content

.NET 9 update

.NET 9 update #21

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version:
9.0.x
- name: Test
run: dotnet test tests/tests.csproj --verbosity normal --collect:"XPlat Code Coverage"
- name: Upload coverage files
env:
CODACY_PROJECT_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l CSharp $(find . -name 'coverage.cobertura.xml' -printf '-r %p ')
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'