File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,16 @@ jobs:
88
88
- name : Checkout sources
89
89
uses : actions/checkout@v4
90
90
- uses : Swatinem/rust-cache@v2
91
- - name : Run cargo fmt
91
+ - name : Install yamlfmt
92
+ env :
93
+ YFV : " 0.13.0"
94
+ HASH : " 043e96d754a8afa4f4c5c13ffb2f3e50c6be5a70bf53292d3025abc0b42fe4ae"
92
95
run : |
93
- rustup component add rustfmt
94
- cargo fmt --all -- --check
96
+ curl -L --fail --output /tmp/yamlfmt.tar.xz https://github.com/google/yamlfmt/releases/download/v${YFV}/yamlfmt_${YFV}_Linux_x86_64.tar.gz
97
+ echo "${HASH} /tmp/yamlfmt.tar.xz" | sha256sum --check
98
+ tar xf /tmp/yamlfmt.tar.xz -C /usr/local/bin yamlfmt
99
+ - name : Check formatting
100
+ run : cargo xtask fmt --check
95
101
- name : Run clippy
96
102
run : |
97
103
rustup component add clippy
@@ -131,7 +137,6 @@ jobs:
131
137
- uses : Swatinem/rust-cache@v2
132
138
- name : Build
133
139
run : cargo package -p uefi -p uefi-raw -p uefi-macros
134
-
135
140
# This job requires the nightly channel, but keep it as a separate job from
136
141
# `nightly_channel` because it takes a while to run.
137
142
build_feature_permutations :
You can’t perform that action at this time.
0 commit comments