Update nuget dependencies #28
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: Build and Test | |
on: | |
workflow_dispatch: # Allow running the workflow manually from the GitHub UI | |
push: | |
paths: | |
- 'Src/**' | |
- '.github/workflows/**' | |
branches: [ master ] | |
pull_request: | |
paths: | |
- 'Src/**' | |
- '.github/workflows/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
#packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
working-directory: ./Src | |
run: dotnet restore | |
- name: Build | |
working-directory: ./Src | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
working-directory: ./Src | |
run: | | |
dotnet test --configuration Release --no-restore --no-build --verbosity normal |