Skip to content

chore(deps): update dotnet monorepo #1272

chore(deps): update dotnet monorepo

chore(deps): update dotnet monorepo #1272

Workflow file for this run

name: .NET Conformance CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
run-conformance:
strategy:
matrix:
dotnet: [ "8.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@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
aka.ms:443
api.nuget.org:443
builds.dotnet.microsoft.com:443
github.com:443
proxy.golang.org:443
storage.googleapis.com:443
crl3.digicert.com:443
ts-crl.ws.symantec.com:443
- name: Checkout repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure()
with:
name: conformance-logs-${{ matrix.os }}-${{ matrix.dotnet }}
path: tmp/conformance-test-output