Update github/codeql-action digest to 23acc5c #482
This file contains 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: [develop] | |
pull_request: | |
branches: [develop] | |
schedule: | |
- cron: '0 15 * * 6' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['csharp'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 | |
with: | |
dotnet-version: | | |
2.1 | |
3.1 | |
5.0 | |
6.0 | |
7.0 | |
8.0 | |
- name: Cache Tools | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 | |
with: | |
path: tools | |
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@530d4feaa9c62aaab2d250371e2061eb7a172363 # v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Build project | |
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0 | |
with: | |
script-path: recipe.cake | |
target: DotNetCore-Build | |
cake-version: 1.3.0 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@530d4feaa9c62aaab2d250371e2061eb7a172363 # v3 |