Upgrade .NET packages #132
Workflow file for this run
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
name: Build and run tests | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET SDK 6.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.425 | |
source-url: ${{ secrets.NUGET_SOURCE }} | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }} | |
- name: Setup .NET SDK 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.402 | |
source-url: ${{ secrets.NUGET_SOURCE }} | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }} | |
- name: Build solution | |
run: dotnet build --configuration Release | |
- name: Run tests | |
run: dotnet test --configuration Release |