Update dependency Cake.Recipe to v4 #950
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: [develop] | |
| pull_request: | |
| branches: [develop] | |
| schedule: | |
| - cron: '0 15 * * 6' | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ['csharp'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 | |
| with: | |
| dotnet-version: | | |
| 2.1 | |
| 3.1 | |
| 5.0 | |
| 6.0 | |
| 7.0 | |
| 8.0 | |
| 9.0 | |
| - name: Cache Tools | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 | |
| with: | |
| path: tools | |
| key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| - name: Build project | |
| uses: cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3 | |
| with: | |
| script-path: recipe.cake | |
| target: DotNetCore-Build | |
| cake-version: tool-manifest | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 |