File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments