- Notifications
You must be signed in to change notification settings - Fork495
trivial: Allow plugins to restart the install-loop without using hacks#10306
Workflow file for this run
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" | |
on: | |
push: | |
branches:[ main ] | |
pull_request: | |
branches:[ main ] | |
permissions: | |
contents:read | |
jobs: | |
analyze: | |
name:Analyze | |
runs-on:ubuntu-22.04 | |
permissions: | |
actions:read | |
contents:read | |
security-events:write | |
strategy: | |
fail-fast:false | |
matrix: | |
language:[ 'cpp', 'python' ] | |
steps: | |
-name:Checkout repository | |
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2 | |
-name:Initialize CodeQL | |
uses:github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5# v3.28.11 | |
with: | |
languages:${{ matrix.language }} | |
-name:Install dependencies | |
run:| | |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list | |
sudo apt-get update | |
sudo ./contrib/ci/fwupd_setup_helpers.py install-dependencies --yes -o ubuntu | |
python3 -m pip install --user "meson >= 0.62.0" | |
-name:Build | |
run:| | |
mkdir -p $GITHUB_WORKSPACE/build | |
cd $GITHUB_WORKSPACE/build | |
meson setup .. -Dman=false --prefix=$GITHUB_WORKSPACE/dist -Dlibxmlb:gtkdoc=false | |
ninja | |
-name:Perform CodeQL Analysis | |
uses:github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5# v3.28.11 |