Update dependency ubuntu to v24 #961
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-24.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@fdbfb4d2750291e159f0156def62b853c2798ca2 # 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@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4 |