Bump actions/checkout from 3 to 4 #74
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
# | |
# SPDX-FileCopyrightText: 2021-2023 EasyCoding Team and contributors | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# | |
name: CodeQL | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
analyze: | |
name: Analyze with CodeQL | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- 'cpp' | |
steps: | |
- name: Installing required packages | |
run: | | |
sudo dnf -y install git-core gcc qt5-qtbase-devel qt5-qttools-devel | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |