Skip to content

Commit c68f6a7

Browse files
authored
Merge pull request #84 from github/aibaars/codeql-threads
Actions: apply CODEQL_THREADS to all steps
2 parents e245382 + 4ef4053 commit c68f6a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dataset_measure.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212

1313
jobs:
1414
measure:
15+
env:
16+
CODEQL_THREADS: 4 # TODO: remove this once it's set by the CLI
1517
strategy:
1618
fail-fast: false
1719
matrix:
@@ -27,7 +29,6 @@ jobs:
2729
unzip -q codeql-linux64.zip
2830
env:
2931
GITHUB_TOKEN: ${{ github.token }}
30-
CODEQL_THREADS: 4 # TODO: remove this once it's set by the CLI
3132
- uses: actions/cache@v2
3233
with:
3334
path: |
@@ -53,7 +54,7 @@ jobs:
5354
- name: Measure database
5455
run: |
5556
mkdir -p "stats/${{ matrix.repo }}"
56-
codeql/codeql dataset measure --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ruby"
57+
codeql/codeql dataset measure --threads 4 --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ruby"
5758
- uses: actions/upload-artifact@v2
5859
with:
5960
name: measurements

0 commit comments

Comments
 (0)