-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17435 from github/rust-experiment
Rust: merge current status of experimental extractor into main
- Loading branch information
Showing
327 changed files
with
18,441 additions
and
1,089 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "Rust" | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "rust/**" | ||
- "misc/bazel/**" | ||
- "misc/codegen/**" | ||
- "shared/**" | ||
- "MODULE.bazel" | ||
- .github/workflows/rust.yml | ||
- .github/actions/** | ||
- codeql-workspace.yml | ||
- "!**/*.md" | ||
- "!**/*.qhelp" | ||
branches: | ||
- rust-experiment | ||
- main | ||
- rc/* | ||
- codeql-cli-* | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
rust-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Format | ||
working-directory: rust/extractor | ||
shell: bash | ||
run: | | ||
cargo fmt --check | ||
- name: Compilation | ||
working-directory: rust/extractor | ||
shell: bash | ||
run: cargo check | ||
- name: Clippy | ||
working-directory: rust/extractor | ||
shell: bash | ||
run: | | ||
cargo clippy --fix | ||
git diff --exit-code | ||
- name: Code generation | ||
shell: bash | ||
run: | | ||
bazel run //rust/codegen | ||
git add . | ||
git diff --exit-code HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.