(deps): Bump System.CommandLine from 2.0.0-beta5.25227.104 to 2.0.0-beta5.25228.110 in /new-cli in the microsoft group across 1 directory #5236
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
push: | |
branches: | |
- main | |
- 'support/*' | |
paths: | |
- '**' | |
- '!docs/**' | |
- '!.github/**' | |
- .github/workflows/codeql-analysis.yml | |
pull_request: | |
branches: | |
- main | |
- 'support/*' | |
paths: | |
- '**' | |
- '!docs/**' | |
- '!.github/**' | |
- .github/workflows/codeql-analysis.yml | |
schedule: | |
- cron: '0 12 * * *' | |
permissions: | |
contents: read | |
env: | |
DOTNET_ROLL_FORWARD: "Major" | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
DOTNET_NOLOGO: 1 | |
jobs: | |
analyze: | |
permissions: | |
actions: read # for github/codeql-action/init to get workflow details | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/analyze to upload SARIF results | |
name: Analyze | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'csharp' ] | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- | |
name: Cache cake frosting | |
id: cache-cake | |
uses: actions/cache@v4 | |
with: | |
path: run | |
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }} | |
- | |
name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- | |
name: '[Prepare]' | |
if: steps.cache-cake.outputs.cache-hit != 'true' | |
run: dotnet build build/ --configuration=Release | |
- | |
name: '[Build]' | |
shell: pwsh | |
run: dotnet run/build.dll --target=BuildPrepare --exclusive | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |