Update .github/workflows/compile-queries.yml

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Arthur Baars
2023-02-17 14:58:19 +01:00
committed by GitHub
parent c167919ff6
commit 87cb3fd59f

View File

@@ -24,7 +24,7 @@ jobs:
with:
key: all-queries
- name: check formatting
run: find */ql -type f \( -name "*.qll" -o -name "*.ql" \) -print0 | xargs -0 codeql query format -q --check-only
run: find */ql -type f \( -name "*.qll" -o -name "*.ql" \) -print0 | xargs -0 -n 3000 -P 10 codeql query format -q --check-only
- name: compile queries - check-only
# run with --check-only if running in a PR (github.sha != main)
if : ${{ github.event_name == 'pull_request' }}