Repository navigation
Rust: Reuse the loaded workspace and load the next one in the background #7586
This file contains hidden or 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
| name: "Rust" | |
| on: | |
| pull_request: | |
| paths: | |
| - "rust/**" | |
| - "misc/bazel/**" | |
| - "misc/codegen/**" | |
| - "shared/**" | |
| - "!shared/yeast/**" | |
| - "!shared/yeast-macros/**" | |
| - "!shared/yeast-schema/**" | |
| - "MODULE.bazel" | |
| - Cargo.toml | |
| - Cargo.lock | |
| - rust-toolchain.toml | |
| - .github/workflows/rust.yml | |
| - .github/actions/** | |
| - codeql-workspace.yml | |
| - "!**/*.md" | |
| - "!**/*.qhelp" | |
| branches: | |
| - rust-experiment | |
| - main | |
| - rc/* | |
| - codeql-cli-* | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust-codegen: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install CodeQL | |
| uses: ./.github/actions/fetch-codeql | |
| - name: Code generation | |
| shell: bash | |
| run: | | |
| bazel run //rust/codegen | |
| git add . | |
| git diff --exit-code HEAD |