Files
deskflow/.github/workflows/codeql-analysis.yml
Nick Bolton 444b7d764e Repair macOS CI workflow ahead of combining all CI workflows (#7350)
* Test

* Fixed Mac image names

* Version lock to macOS 14

* Change name of Homebrew Qt package

* Use CMake to build

* Remove dep already installed

* Remove version source

* Remove env var not needed

* Add homebrew path to CMake presets

* Revert "Add homebrew path to CMake presets"

This reverts commit 6b1342cdc2f412cad3e840e51e3e018dd7470d21.

* Add Qt prefix to workflow

* Upgrade CodeQL analysis to v2

* Rename SonarCloud workflow for convention

* Delete test file

* Upgrade CodeQL analysis to v3
2024-06-11 11:48:15 +01:00

59 lines
1.3 KiB
YAML

name: "CodeQL Analysis"
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
concurrency:
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
language: ["cpp"]
steps:
- name: Install dependencies
run: |
sudo apt-get update; \
sudo apt-get install -y \
build-essential \
cmake \
debhelper \
devscripts \
git \
libavahi-compat-libdnssd-dev \
libgdk-pixbuf2.0-dev \
libgl1-mesa-dev \
libglib2.0-dev \
libnotify-dev \
libssl-dev \
libx11-dev \
libxtst-dev \
qtbase5-dev \
qttools5-dev \
qttools5-dev-tools
- name: Checkout git repo
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3