Skip to content

Fix .NET containers #6652

Fix .NET containers

Fix .NET containers #6652

Workflow file for this run

name: CheckDotnet
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
permissions: read-all
jobs:
validate:
permissions:
contents: read # for actions/checkout to fetch code
name: Validate
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee
with:
dotnet-version: 6.0.x
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Prepare Machine
run: scripts/prepare-machine.ps1
shell: pwsh
- name: Run DotNet Update
run: scripts/generate-dotnet.ps1
shell: pwsh
- name: Check for Changes
run: |
git add .
git --no-pager diff --exit-code HEAD