Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 #279
Workflow file for this run
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@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
# codecov and unittests need 2.1 | |
dotnet-version: '2.1.818' | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: '3.1.414' | |
- uses: actions/[email protected] | |
with: | |
# gitversion needs 5.0 | |
dotnet-version: '5.0.402' | |
- uses: actions/[email protected] | |
with: | |
# need at least .NET 6 to build | |
dotnet-version: '6.0.400' | |
include-prerelease: true | |
- name: Cache Tools | |
uses: actions/cache@v3 | |
with: | |
path: tools | |
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Build project | |
uses: cake-build/[email protected] | |
with: | |
script-path: recipe.cake | |
target: DotNetCore-Build | |
cake-version: 1.3.0 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |