Skip to content

Commit 40b8406

Browse files
author
Paolo Tranquilli
committed
Bazel: use installer shortcut in docs and workflows
1 parent 6e33f97 commit 40b8406

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/cpp-swift-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: "Build Swift extractor using Bazel"
4949
run: |
5050
bazel clean --expunge
51-
bazel run //swift:create-extractor-pack --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
51+
bazel run //swift:installer --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
5252
bazel shutdown
5353
5454
- name: Perform CodeQL Analysis

rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you don't have the `semmle-code` repo you may need to install Bazel manually,
1313

1414
This approach uses a released `codeql` version and is simpler to use for QL development. From your `semmle-code` directory run:
1515
```bash
16-
bazel run @codeql//rust:rust-installer
16+
bazel run @codeql//rust:installer
1717
```
1818
You now need to create a [per-user CodeQL configuration file](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/specifying-command-options-in-a-codeql-configuration-file#using-a-codeql-configuration-file) and specify the option:
1919
```

swift/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ brew install bazelisk
1313
then from the `ql` directory run
1414

1515
```bash
16-
bazel run //swift:create-extractor-pack
16+
bazel run //swift:installer
1717
```
1818

1919
If you are running on macOS and you encounter errors mentioning `XXX is unavailable: introduced in macOS YY.ZZ`,

swift/actions/build-and-test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runs:
4848
- name: Build Swift extractor
4949
shell: bash
5050
run: |
51-
bazel run //swift:create-extractor-pack
51+
bazel run //swift:installer
5252
- name: Run codegen tests
5353
if : ${{ github.event_name == 'pull_request' }}
5454
shell: bash

0 commit comments

Comments
 (0)