Files
deskflow/.github/workflows/codeql-analysis.yml
Nick Bolton e9557b8c19 Improve workflow triggers to ensure correct run time (#7378)
* Improve workflow triggers to ensure correct run time

* Update ChangeLog
2024-07-09 18:50:54 +01:00

64 lines
1.4 KiB
YAML

name: "CodeQL Analysis"
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
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