msquic/.github/workflows/check-clog.yml

38 строки
813 B
YAML

name: CLOG
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@607fce577a46308457984d59e4954e075820f10a
with:
dotnet-version: 6.0.x
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
- name: Prepare Machine
run: scripts/prepare-machine.ps1
shell: pwsh
- name: Run CLOG Update
run: scripts/update-sidecar.ps1
shell: pwsh
- name: Check for Changes
run: |
git add .
git --no-pager diff --exit-code HEAD