Skip to content

Commit 9773e8a

Browse files
authored
Merge pull request #30 from trailofbits/mschwager-setup-codeql
Try trailofbits/setup-codeql action for tests
2 parents a906346 + eaa55a1 commit 9773e8a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
name: CodeQL queries test
2+
23
on:
34
pull_request:
45
push:
56
branches:
67
- main
8+
79
jobs:
8-
test:
9-
name: Run CodeQL query tests
10+
main:
1011
runs-on: ubuntu-latest
1112
steps:
12-
- uses: actions/checkout@v4
13-
- id: init
14-
uses: github/codeql-action/init@v3
15-
- name: Run tests
16-
run: |
17-
${{ steps.init.outputs.codeql-path }} test run ./cpp/test/
18-
${{ steps.init.outputs.codeql-path }} test run ./go/test/
19-
${{ steps.init.outputs.codeql-path }} test run ./java/test/
13+
- uses: actions/checkout@v6
14+
- uses: trailofbits/setup-codeql@main
15+
with:
16+
version: '2.23.8'
17+
platform: 'linux64'
18+
checksum: 'e61bc8aa8d86d45acd9d1c36629a12bbfb3365cd07a31666a2ebc91c6a1940b2'
19+
- run: |
20+
codeql test run --threads=0 ./cpp/test/
21+
codeql test run --threads=0 ./go/test/
22+
codeql test run --threads=0 ./java/test/

0 commit comments

Comments
 (0)