mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: fix CI codegen check
This commit is contained in:
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
@@ -28,6 +28,11 @@ jobs:
|
||||
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
|
||||
@@ -38,15 +43,9 @@ jobs:
|
||||
run: |
|
||||
cargo clippy --fix
|
||||
git diff --exit-code
|
||||
- name: Format
|
||||
working-directory: rust/extractor
|
||||
shell: bash
|
||||
run: |
|
||||
cargo fmt --check
|
||||
- name: Code generation
|
||||
working-directory: rust/extractor
|
||||
shell: bash
|
||||
run: |
|
||||
bazel run codegen
|
||||
bazel run //rust/codegen
|
||||
git add .
|
||||
git diff --exit-code HEAD
|
||||
|
||||
Reference in New Issue
Block a user