1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-11 11:39:10 +01:00
GPXSee/.github/workflows/codeql.yml

46 lines
1.5 KiB
YAML
Raw Normal View History

2022-12-16 16:23:59 +01:00
name: "CodeQL"
2023-01-05 22:02:25 +01:00
on: [workflow_dispatch]
2022-12-16 16:23:59 +01:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
2022-12-16 16:34:32 +01:00
- name: Install dependencies
run: |
sudo apt-get update
2023-02-18 12:17:19 +01:00
sudo apt-get install qtbase5-dev qtbase5-private-dev qtbase5-dev-tools qt5-qmake qttools5-dev-tools libqt5opengl5-dev qtpositioning5-dev libqt5svg5-dev libqt5serialport5-dev
2022-12-16 16:34:32 +01:00
2022-12-16 16:23:59 +01:00
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"