Skip to content

Commit da6a915

Browse files
committed
QL: Placeholder codeql workflow (wip)
1 parent fac92ef commit da6a915

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: "CodeQL action"
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: "15 0 * * 2"
10+
workflow_dispatch:
11+
12+
jobs:
13+
prepare:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
19+
- uses: actions/cache@v2
20+
with:
21+
path: |
22+
~/.cargo/registry
23+
~/.cargo/git
24+
target
25+
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }}
26+
27+
- name: Build Extractor
28+
run: ./create-extractor-pack.sh
29+
# TODO
30+
31+
# analyze:
32+
# name: Analyze
33+
# runs-on: ubuntu-latest
34+
# permissions:
35+
# actions: read
36+
# contents: read
37+
# security-events: write
38+
#
39+
# strategy:
40+
# fail-fast: false
41+
# matrix:
42+
# language: ["ql"]
43+
#
44+
# steps:
45+
# - name: Initialize CodeQL
46+
# uses: github/codeql-action/init@v1
47+
# with:
48+
# languages: ${{ matrix.language }}
49+
# tools: extractor-pack
50+
#
51+
# - name: Autobuild
52+
# uses: github/codeql-action/autobuild@v1
53+
#
54+
# - name: Perform CodeQL Analysis
55+
# uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)