Skip to content

Commit

Permalink
Bazel: use installer shortcut in docs and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Tranquilli committed Nov 19, 2024
1 parent 6e33f97 commit 40b8406
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpp-swift-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: "Build Swift extractor using Bazel"
run: |
bazel clean --expunge
bazel run //swift:create-extractor-pack --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
bazel run //swift:installer --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
bazel shutdown
- name: Perform CodeQL Analysis
Expand Down
2 changes: 1 addition & 1 deletion rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you don't have the `semmle-code` repo you may need to install Bazel manually,

This approach uses a released `codeql` version and is simpler to use for QL development. From your `semmle-code` directory run:
```bash
bazel run @codeql//rust:rust-installer
bazel run @codeql//rust:installer
```
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:
```
Expand Down
2 changes: 1 addition & 1 deletion swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ brew install bazelisk
then from the `ql` directory run

```bash
bazel run //swift:create-extractor-pack
bazel run //swift:installer
```

If you are running on macOS and you encounter errors mentioning `XXX is unavailable: introduced in macOS YY.ZZ`,
Expand Down
2 changes: 1 addition & 1 deletion swift/actions/build-and-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
- name: Build Swift extractor
shell: bash
run: |
bazel run //swift:create-extractor-pack
bazel run //swift:installer
- name: Run codegen tests
if : ${{ github.event_name == 'pull_request' }}
shell: bash
Expand Down

0 comments on commit 40b8406

Please sign in to comment.