Stop treating Warnings as Errors #727
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: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up dotnet core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
2.1.x | |
6.0.x | |
8.0.x | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
# Build the release build | |
- name: Build the solution | |
run: dotnet build -c Release src/UglyToad.PdfPig.sln | |
- name: Run the tests | |
run: dotnet test -c Release src/UglyToad.PdfPig.sln |