Skip to content

Commit c979a94

Browse files
author
Paolo Tranquilli
committed
Rust: fix CI codegen check
1 parent ee2a8b0 commit c979a94

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31+
- name: Format
32+
working-directory: rust/extractor
33+
shell: bash
34+
run: |
35+
cargo fmt --check
3136
- name: Compilation
3237
working-directory: rust/extractor
3338
shell: bash
@@ -38,15 +43,9 @@ jobs:
3843
run: |
3944
cargo clippy --fix
4045
git diff --exit-code
41-
- name: Format
42-
working-directory: rust/extractor
43-
shell: bash
44-
run: |
45-
cargo fmt --check
4646
- name: Code generation
47-
working-directory: rust/extractor
4847
shell: bash
4948
run: |
50-
bazel run codegen
49+
bazel run //rust/codegen
5150
git add .
5251
git diff --exit-code HEAD

0 commit comments

Comments
 (0)