Skip to content

Pin GitHub Actions to commit SHAs and extend Dependabot to the 3.8 an… #1480

Pin GitHub Actions to commit SHAs and extend Dependabot to the 3.8 an…

Pin GitHub Actions to commit SHAs and extend Dependabot to the 3.8 an… #1480

Workflow file for this run

name: .NET
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
jobs:
dotnet-format:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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