update NuGet packages #55
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: run-tests | |
on: [workflow_dispatch, push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
dotnet-version: [ '7.0.x' ] | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Setup Nuget | |
uses: Nuget/setup-nuget@v1.0.5 | |
- name: Restore nuget packages | |
run: nuget restore 'IegTools.FluentPollster.sln' | |
- name: 'Install dependencies' | |
run: dotnet restore | |
- name: 'Build project' | |
run: dotnet build --configuration Release --no-restore | |
- name: 'Test project' | |
run: dotnet test --no-restore --verbosity normal |