Skip to content

chore(deps): update dependency microsoft.net.test.sdk to 17.12.0 #1052

chore(deps): update dependency microsoft.net.test.sdk to 17.12.0

chore(deps): update dependency microsoft.net.test.sdk to 17.12.0 #1052

Workflow file for this run

name: .NET Conformance CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
run-conformance:
strategy:
matrix:
dotnet: [ "6.0.x" ]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
# Avoid unnecessary output
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
aka.ms:443
api.nuget.org:443
dotnetcli.azureedge.net:443
github.com:443
proxy.golang.org:443
storage.googleapis.com:443
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '^1.16'
- name: Clear NuGet cache
run: dotnet nuget locals all --clear
- name: Run conformance tests
shell: bash
run: ./run-conformance-tests.sh
- name: Upload logs on failure
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure()
with:
name: conformance-logs-${{ matrix.os }}-${{ matrix.dotnet }}
path: tmp/conformance-test-output