Skip to content

chore(deps): update github/codeql-action action to v4.31.3 #1350

chore(deps): update github/codeql-action action to v4.31.3

chore(deps): update github/codeql-action action to v4.31.3 #1350

Workflow file for this run

name: .NET Lint CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
aka.ms:443
api.nuget.org:443
dc.services.visualstudio.com:443
builds.dotnet.microsoft.com:443
github.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@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
dotnet-version: '8.0.x'
- run: dotnet tool install -g dotnet-format
- run: dotnet-format src