Updated System.Text.Json to address CVE-2024-43485 #45
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: .NET CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
# Build and test on .NET Core | |
dotnet-core-ci: | |
name: .NET Core - test | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Install dependencies | |
run: nuget restore | |
- name: Build solution | |
run: dotnet build | |
- name: Run tests | |
run: dotnet test | |
# - name: Run linter | |
# run: dotnet format --verify-no-changes | |
# Build and test on .NET Framework | |
dotnet-framework-ci: | |
name: .NET Framework - test | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Set up VSTest | |
uses: darenm/Setup-VSTest@v1 | |
- name: Install dependencies | |
run: nuget restore | |
- name: Build DuoApiTest solution | |
run: msbuild.exe duo_api_csharp.sln | |
- name: Run Tests dll | |
run: vstest.console.exe .\test\bin\Debug\DuoApiTest.dll |