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 : Run QL Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ qltest :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Fetch CodeQL
18+ run : |
19+ gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip
20+ unzip -q codeql-linux64.zip
21+ env :
22+ GITHUB_TOKEN : ${{ github.token }}
23+ - uses : actions/cache@v2
24+ with :
25+ path : |
26+ ~/.cargo/registry
27+ ~/.cargo/git
28+ target
29+ key : ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }}
30+ - name : Build Extractor
31+ run : env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh
32+ - name : Run QL tests
33+ run : codeql/codeql test run --search-path "${{ github.workspace }}" ql/test
34+
You can’t perform that action at this time.
0 commit comments