Skip to content

Commit 43e5efa

Browse files
authored
Merge pull request #147 from eseiler/infra/codeql
[INFRA] Add CodeQL
2 parents d6b6cfb + b3a0063 commit 43e5efa

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/ci_codeql.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2+
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
name: CodeQL
6+
7+
on:
8+
schedule:
9+
- cron: "0 6 * * SAT"
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: codeql-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
env:
17+
CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false
18+
TZ: Europe/Berlin
19+
20+
defaults:
21+
run:
22+
shell: bash -Eeuxo pipefail {0}
23+
24+
jobs:
25+
codeql:
26+
name: CodeQL
27+
runs-on: ubuntu-latest
28+
permissions:
29+
security-events: write
30+
container:
31+
image: ghcr.io/seqan/gcc-14
32+
volumes:
33+
- /home/runner:/home/runner
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
38+
- name: Initialize CodeQL
39+
uses: github/codeql-action/init@v3
40+
with:
41+
languages: cpp
42+
43+
- name: Autobuild
44+
uses: github/codeql-action/autobuild@v3
45+
46+
- name: Perform CodeQL Analysis
47+
uses: github/codeql-action/analyze@v3
48+
with:
49+
category: "/language:cpp"

0 commit comments

Comments
 (0)