ci(deps): bump actions/upload-artifact from 6 to 7 #167
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
| # Copyright 2015 - 2026, GIBIS-Unifesp and the wiRedPanda contributors | |
| # SPDX-License-Identifier: GPL-3.0-or-later | |
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: cpp | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: 6.9.3 | |
| cache: true | |
| aqtversion: ==3.* | |
| modules: qtmultimedia qtimageformats | |
| - name: ccache | |
| uses: hendrikmuhs/ccache-action@v1 | |
| with: | |
| key: codeql-${{ runner.os }} | |
| - name: Build | |
| run: | | |
| cmake --preset release | |
| cmake --build --preset release | |
| - name: Test | |
| timeout-minutes: 10 | |
| run: | | |
| ctest --preset release -V -LE gui | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| - name: Upload build artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: codeql-build-logs | |
| path: | | |
| build/CMakeCache.txt | |
| build/CMakeFiles/CMakeOutput.log | |
| build/CMakeFiles/CMakeError.log | |
| retention-days: 7 |