build(win32): resolve #7763 working windows installer #2
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
name: "CodeQL Analysis" | |
# According to the docs, the CodeQL workflow should be triggered directly by push to master | |
# and by pull requests (we only run this on open PRs as it's very slow). We also use the | |
# `workflow_dispatch` event is also enabled to allow manual triggering of the workflow for testing. | |
# | |
# We should not trigger this workflow with `workflow_call` as this causes the error: | |
# "1 configuration present on `master` was not found" | |
# | |
# Sadly, this means we can't roll it into our monolithic CI workflow. | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- '**/*.md' | |
- '.github/ISSUE_TEMPLATE/**' | |
- '.editorconfig' | |
- '.env-example' | |
- '.gitignore' | |
- '.gitattributes' | |
- 'cspell.json' | |
push: | |
branches: [master] | |
jobs: | |
analyze: | |
if: ${{ !github.event.pull_request.draft }} | |
name: Analyze | |
runs-on: ubuntu-latest | |
container: deskflow/deskflow:debian-13-amd64 | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["cpp"] | |
steps: | |
- name: Fancy Checkout | |
uses: sithlord48/fancy-checkout@v1.0.0 | |
- name: Install dependencies | |
run: ./scripts/install_deps.py | |
env: | |
# Prevent apt prompting for input. | |
DEBIAN_FRONTEND: noninteractive | |
- 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 |