Skip to content

Commit a302570

Browse files
committed
Merge branch 'main' into swift-taint-through-interpolated-strings
2 parents 2f13c65 + 1c8090f commit a302570

File tree

163 files changed

+2372
-1170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+2372
-1170
lines changed

.github/actions/fetch-codeql/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
shell: bash
88
run: |
99
gh extension install github/gh-codeql
10-
gh codeql set-channel release
10+
gh codeql set-channel nightly
1111
gh codeql version
1212
gh codeql version --format=json | jq -r .unpackedLocation >> "${GITHUB_PATH}"
1313
env:

.github/workflows/check-qldoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- "*/ql/lib/**"
77
- .github/workflows/check-qldoc.yml
8-
- .github/actions/fetch-codeql
8+
- .github/actions/fetch-codeql/action.yml
99
branches:
1010
- main
1111
- "rc/*"

.github/workflows/csv-coverage-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- main
1313
paths:
1414
- ".github/workflows/csv-coverage-metrics.yml"
15-
- ".github/actions/fetch-codeql"
15+
- ".github/actions/fetch-codeql/action.yml"
1616

1717
jobs:
1818
publish-java:

.github/workflows/csv-coverage-pr-artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- ".github/workflows/csv-coverage-pr-comment.yml"
77
- ".github/workflows/csv-coverage-pr-artifacts.yml"
8-
- ".github/actions/fetch-codeql"
8+
- ".github/actions/fetch-codeql/action.yml"
99
- "*/ql/src/**/*.ql"
1010
- "*/ql/src/**/*.qll"
1111
- "*/ql/lib/**/*.ql"
@@ -51,14 +51,14 @@ jobs:
5151
- name: Generate CSV files on merge commit of the PR
5252
run: |
5353
echo "Running generator on merge"
54-
PATH="$PATH:codeql-cli/codeql" python merge/misc/scripts/library-coverage/generate-report.py ci merge merge
54+
python merge/misc/scripts/library-coverage/generate-report.py ci merge merge
5555
mkdir out_merge
5656
cp framework-coverage-*.csv out_merge/
5757
cp framework-coverage-*.rst out_merge/
5858
- name: Generate CSV files on base commit of the PR
5959
run: |
6060
echo "Running generator on base"
61-
PATH="$PATH:codeql-cli/codeql" python base/misc/scripts/library-coverage/generate-report.py ci base base
61+
python base/misc/scripts/library-coverage/generate-report.py ci base base
6262
mkdir out_base
6363
cp framework-coverage-*.csv out_base/
6464
cp framework-coverage-*.rst out_base/

.github/workflows/csv-coverage-timeseries.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
uses: ./.github/actions/fetch-codeql
2626
- name: Build modeled package list
2727
run: |
28-
CLI=$(realpath "codeql-cli/codeql")
29-
echo $CLI
30-
PATH="$PATH:$CLI" python script/misc/scripts/library-coverage/generate-timeseries.py codeqlModels
28+
python script/misc/scripts/library-coverage/generate-timeseries.py codeqlModels
3129
- name: Upload timeseries CSV
3230
uses: actions/upload-artifact@v3
3331
with:

.github/workflows/csv-coverage-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: ./.github/actions/fetch-codeql
3030
- name: Generate coverage files
3131
run: |
32-
PATH="$PATH:codeql-cli/codeql" python ql/misc/scripts/library-coverage/generate-report.py ci ql ql
32+
python ql/misc/scripts/library-coverage/generate-report.py ci ql ql
3333
3434
- name: Create pull request with changes
3535
env:

.github/workflows/csv-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: ./.github/actions/fetch-codeql
3030
- name: Build modeled package list
3131
run: |
32-
PATH="$PATH:codeql-cli/codeql" python script/misc/scripts/library-coverage/generate-report.py ci codeqlModels script
32+
python script/misc/scripts/library-coverage/generate-report.py ci codeqlModels script
3333
- name: Upload CSV package list
3434
uses: actions/upload-artifact@v3
3535
with:

.github/workflows/go-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
paths:
55
- "go/**"
66
- .github/workflows/go-tests.yml
7-
- .github/actions/fetch-codeql
7+
- .github/actions/fetch-codeql/action.yml
88
- codeql-workspace.yml
99
jobs:
1010
test-linux:
@@ -30,12 +30,12 @@ jobs:
3030
- name: Build
3131
run: |
3232
cd go
33-
env make
33+
make
3434
3535
- name: Check that all QL and Go code is autoformatted
3636
run: |
3737
cd go
38-
env make check-formatting
38+
make check-formatting
3939
4040
- name: Compile qhelp files to markdown
4141
run: |
@@ -51,7 +51,7 @@ jobs:
5151
- name: Test
5252
run: |
5353
cd go
54-
env make test
54+
make test
5555
5656
test-mac:
5757
name: Test MacOS

.github/workflows/js-ml-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- "javascript/ql/experimental/adaptivethreatmodeling/**"
77
- .github/workflows/js-ml-tests.yml
8-
- .github/actions/fetch-codeql
8+
- .github/actions/fetch-codeql/action.yml
99
- codeql-workspace.yml
1010
branches:
1111
- main
@@ -14,7 +14,7 @@ on:
1414
paths:
1515
- "javascript/ql/experimental/adaptivethreatmodeling/**"
1616
- .github/workflows/js-ml-tests.yml
17-
- .github/actions/fetch-codeql
17+
- .github/actions/fetch-codeql/action.yml
1818
- codeql-workspace.yml
1919
workflow_dispatch:
2020

.github/workflows/mad_regenerate-models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010
paths:
1111
- ".github/workflows/mad_regenerate-models.yml"
12-
- ".github/actions/fetch-codeql"
12+
- ".github/actions/fetch-codeql/action.yml"
1313

1414
jobs:
1515
regenerate-models:

0 commit comments

Comments
 (0)