Skip to content

Pin the 3.8 branch's GitHub Actions to commit SHAs #1470

Pin the 3.8 branch's GitHub Actions to commit SHAs

Pin the 3.8 branch's GitHub Actions to commit SHAs #1470

Workflow file for this run

name: .NET
on:
workflow_dispatch:
push:
branches: ["3.8"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["3.8"]
jobs:
dotnet-format:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Run .NET format
working-directory: csharp
run: |
find . -name '*.slnx' -type f | while IFS= read -r file; do
dotnet format --verify-no-changes "$file"
done