Skip to content

chore(deps): update dependency system.text.json to v8 [security] #227

chore(deps): update dependency system.text.json to v8 [security]

chore(deps): update dependency system.text.json to v8 [security] #227

Workflow file for this run

name: build-and-test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v4
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- run: dotnet restore
- run: dotnet build --configuration Release --no-restore
- run: dotnet test --no-restore --verbosity normal --logger trx --results-directory "testresults"
- uses: actions/upload-artifact@v4
with:
path: testresults
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}