chore(deps): bump anchore/scan-action from 3.6.4 to 7.4.0 (#19) #72
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 | |
| # Source-level static analysis for dish-linux (C++ / Qt6 / SDL2). | |
| # | |
| # Pin map (verify with `gh api repos/<owner>/<repo>/git/ref/tags/<tag>`): | |
| # actions/checkout @ v4.2.2 → 11bd71901bbe5b1630ceea73d27597364c9af683 | |
| # github/codeql-action/* @ v4.35.4 → 68bde559dea0fdcac2102bfdf6230c5f70eb485e | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| jobs: | |
| analyze: | |
| name: Analyze (${{ matrix.language }}) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [cpp] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential cmake ninja-build pkg-config \ | |
| qt6-base-dev qt6-base-dev-tools qt6-svg-dev \ | |
| libsodium-dev libsdl2-dev | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-extended,security-and-quality | |
| - name: Build | |
| run: | | |
| cmake -S . -B build -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DDISH_BUILD_TESTS=OFF | |
| cmake --build build --parallel --target Dish | |
| - name: Perform CodeQL analysis | |
| # SARIF upload requires GitHub Advanced Security on private repos. | |
| # `continue-on-error` keeps the analysis running and surfacing | |
| # findings in the logs while GHAS enablement is still pending — | |
| # see HANDOFF.md item 5. | |
| continue-on-error: true | |
| uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4 | |
| with: | |
| category: "/language:${{ matrix.language }}" | |
| upload: failure-only |