File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 56
56
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
57
57
58
58
- name : Format (addlicense)
59
- run : addlicense -check .
59
+ run : addlicense -ignore "bazel/cargo/*/remote/**" - check .
60
60
61
61
buildifier :
62
62
name : check format with buildifier
78
78
- name : Format (buildifier)
79
79
run : find . -name "WORKSPACE" -o -name "*BUILD*" -o -name "*.bzl" | xargs -n1 buildifier -mode=check
80
80
81
- cargo_raze :
82
- name : check format with cargo-raze
81
+ rules_rust :
82
+ name : check format with rules_rust
83
83
84
84
runs-on : ubuntu-latest
85
85
@@ -93,14 +93,11 @@ jobs:
93
93
run : |
94
94
bazel query 'deps(//bazel/cargo/...)'
95
95
96
- - name : Format (cargo raze)
97
- working-directory : bazel/cargo
96
+ - name : Format (rules_rust)
98
97
run : |
99
- cd wasmsign && cargo raze && cd ..
100
- cd wasmtime && cargo raze && cd ..
101
- # Ignore manual changes in "errno" and "rustix" crates until fixed in cargo-raze.
102
- # See: https://github.com/google/cargo-raze/issues/451
103
- git diff --exit-code -- ':!wasmtime/remote/BUILD.errno-0.*.bazel' ':!wasmtime/remote/BUILD.rustix-0.*.bazel'
98
+ bazel run //bazel/cargo/wasmsign:crates_vendor
99
+ bazel run //bazel/cargo/wasmtime:crates_vendor
100
+ git diff --exit-code
104
101
105
102
clang_format :
106
103
name : check format with clang-format
You can’t perform that action at this time.
0 commit comments