Skip to content

Commit 1e1fd45

Browse files
author
Dilan
committed
Merge tag 'codeql-cli/latest'
Compatible with the latest released version of the CodeQL CLI
2 parents f96a984 + 39a67b6 commit 1e1fd45

File tree

1,358 files changed

+94258
-65227
lines changed

Some content is hidden

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

1,358 files changed

+94258
-65227
lines changed

.bazelrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
common --enable_platform_specific_config
2-
common --enable_bzlmod
32
# because we use --override_module with `%workspace%`, the lock file is not stable
43
common --lockfile_mode=off
54

@@ -25,6 +24,5 @@ common --registry=https://bcr.bazel.build
2524

2625
common --@rules_dotnet//dotnet/settings:strict_deps=false
2726
common --experimental_isolated_extension_usages
28-
common --incompatible_use_plus_in_repo_names
2927

3028
try-import %workspace%/local.bazelrc

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5f5d70b6c4d2fb1a889479569107f1692239e8a7
1+
8.0.0rc1

.github/codeql/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ paths-ignore:
99
- '/python/'
1010
- '/javascript/ql/test'
1111
- '/javascript/extractor/tests'
12+
- '/rust/ql/test'
13+
- '/rust/ql/integration-tests'

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Swift:
3838
- swift/**/*
3939
- change-notes/**/*swift*
4040

41+
Actions:
42+
- actions/**/*
43+
- change-notes/**/*actions*
44+
4145
documentation:
4246
- "**/*.qhelp"
4347
- "**/*.md"

.github/workflows/build-ripunzip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ubuntu-20.04, macos-12, windows-2019]
20+
os: [ubuntu-20.04, macos-13, windows-2019]
2121
runs-on: ${{ matrix.os }}
2222
steps:
2323
- uses: actions/checkout@v4

.github/workflows/rust-analysis.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: "Code scanning - Rust"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 'rc/*'
8+
pull_request:
9+
branches:
10+
- main
11+
- 'rc/*'
12+
paths:
13+
- '**/*.rs'
14+
- '**/Cargo.toml'
15+
- '.github/codeql/codeql-config.yml'
16+
- '.github/workflows/rust-analysis.yml'
17+
schedule:
18+
- cron: '0 9 * * 1'
19+
20+
env:
21+
CODEQL_ENABLE_EXPERIMENTAL_FEATURES: "true"
22+
23+
jobs:
24+
analyze:
25+
strategy:
26+
matrix:
27+
language: [ 'rust' ]
28+
29+
runs-on: ubuntu-latest
30+
31+
permissions:
32+
contents: read
33+
security-events: write
34+
pull-requests: read
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
39+
40+
- name: Query latest nightly CodeQL bundle
41+
shell: bash
42+
id: codeql
43+
env:
44+
GITHUB_TOKEN: ${{ github.token }}
45+
run: |
46+
REPO=dsp-testing/codeql-cli-nightlies
47+
TAG=$(
48+
gh release list -R $REPO -L1 --exclude-drafts --json tagName -q ".[] | .tagName"
49+
)
50+
echo "nightly_bundle=https://github.com/$REPO/releases/download/$TAG/codeql-bundle-linux64.tar.zst" \
51+
| tee -a "$GITHUB_OUTPUT"
52+
53+
- name: Initialize CodeQL
54+
uses: github/codeql-action/init@main
55+
with:
56+
tools: ${{ steps.codeql.outputs.nightly_bundle }}
57+
languages: ${{ matrix.language }}
58+
config-file: ./.github/codeql/codeql-config.yml
59+
60+
- name: Autobuild
61+
uses: github/codeql-action/autobuild@main
62+
63+
- name: Perform CodeQL Analysis
64+
uses: github/codeql-action/analyze@main

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# without waiting for the macOS build
4545
build-and-test-macos:
4646
if: github.repository_owner == 'github'
47-
runs-on: macos-12-xl
47+
runs-on: macos-13-xlarge
4848
steps:
4949
- uses: actions/checkout@v4
5050
- uses: ./swift/actions/build-and-test
@@ -64,7 +64,7 @@ jobs:
6464
qltests-macos:
6565
if: ${{ github.repository_owner == 'github' && github.event_name == 'pull_request' }}
6666
needs: build-and-test-macos
67-
runs-on: macos-12-xl
67+
runs-on: macos-13-xlarge
6868
steps:
6969
- uses: actions/checkout@v4
7070
- uses: ./swift/actions/run-ql-tests

CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
/ql/ @github/codeql-ql-for-ql-reviewers
2424

2525
# Bazel (excluding BUILD.bazel files)
26-
WORKSPACE.bazel @github/codeql-ci-reviewers
2726
MODULE.bazel @github/codeql-ci-reviewers
2827
.bazelversion @github/codeql-ci-reviewers
2928
.bazelrc @github/codeql-ci-reviewers

Cargo.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ bazel_dep(name = "platforms", version = "0.0.10")
1818
bazel_dep(name = "rules_go", version = "0.50.0")
1919
bazel_dep(name = "rules_pkg", version = "1.0.1")
2020
bazel_dep(name = "rules_nodejs", version = "6.2.0-codeql.1")
21-
bazel_dep(name = "rules_python", version = "0.35.0")
22-
bazel_dep(name = "bazel_skylib", version = "1.6.1")
21+
bazel_dep(name = "rules_python", version = "0.36.0")
22+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
2323
bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "absl")
2424
bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "json")
2525
bazel_dep(name = "fmt", version = "10.0.0")
2626
bazel_dep(name = "rules_kotlin", version = "2.0.0-codeql.1")
2727
bazel_dep(name = "gazelle", version = "0.38.0")
28-
bazel_dep(name = "rules_dotnet", version = "0.15.1")
28+
bazel_dep(name = "rules_dotnet", version = "0.16.1")
2929
bazel_dep(name = "googletest", version = "1.14.0.bcr.1")
3030
bazel_dep(name = "rules_rust", version = "0.52.2")
3131

0 commit comments

Comments
 (0)