Merge pull request #7 from xztaityozx/chore/bump-up-to-dotnet8.0 #13
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: .NET Core CI/CD | |
on: [push] | |
jobs: | |
test: | |
name: Unit test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
dotnet-version: [8.0.x] | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | |
NUGET_XMLDOC_MODE: skip | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ github.workspace }}/.nuget/packages | |
key: nuget-${{ matrix.os }}-${{ matrix.dotnet-version }} | |
restore-keys: | | |
nuget-${{ matrix.os }}- | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Test | |
working-directory: ./noc/Test | |
run: dotnet test --verbosity normal -c Debug |