5353 with :
5454 go-version : ' ^1.16'
5555
56+ - name : Install dependencies
57+ if : ${{ env.ACT }}
58+ run : |
59+ go install github.com/bazelbuild/bazelisk@v1.19.0
60+
5661 - name : Cache
5762 uses : actions/cache@v2
5863 with :
9297 steps :
9398 - uses : actions/checkout@v2
9499
100+ - name : Install dependencies
101+ if : ${{ env.ACT }}
102+ run : |
103+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
104+ chmod +x ./rustup-init
105+ ./rustup-init -y
106+ rm rustup-init
107+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
108+
95109 - name : Update Rust
96110 run : |
97111 rustup toolchain install stable --component clippy --component rustfmt
@@ -131,6 +145,15 @@ jobs:
131145 steps :
132146 - uses : actions/checkout@v2
133147
148+ - name : Install dependencies
149+ if : ${{ env.ACT }}
150+ run : |
151+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
152+ chmod +x ./rustup-init
153+ ./rustup-init -y
154+ rm rustup-init
155+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
156+
134157 - name : Update Rust
135158 run : |
136159 rustup toolchain install nightly --component clippy --component rustfmt
@@ -168,6 +191,17 @@ jobs:
168191 steps :
169192 - uses : actions/checkout@v2
170193
194+ - name : Install dependencies
195+ if : ${{ env.ACT }}
196+ run : |
197+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
198+ chmod +x ./rustup-init
199+ ./rustup-init -y
200+ rm rustup-init
201+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
202+ export PATH=$PATH:$HOME/.cargo/bin
203+ cargo install cargo-outdated
204+
171205 - name : Run cargo outdated
172206 run : cargo outdated --root-deps-only --exit-code 1
173207
@@ -177,6 +211,17 @@ jobs:
177211 steps :
178212 - uses : actions/checkout@v2
179213
214+ - name : Install dependencies
215+ if : ${{ env.ACT }}
216+ run : |
217+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
218+ chmod +x ./rustup-init
219+ ./rustup-init -y
220+ rm rustup-init
221+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
222+ export PATH=$PATH:$HOME/.cargo/bin
223+ cargo install cargo-audit
224+
180225 - name : Run cargo audit
181226 run : |
182227 cp -p bazel/cargo/Cargo.Bazel.lock Cargo.lock
@@ -204,6 +249,15 @@ jobs:
204249 steps :
205250 - uses : actions/checkout@v2
206251
252+ - name : Install dependencies
253+ if : ${{ env.ACT }}
254+ run : |
255+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
256+ chmod +x ./rustup-init
257+ ./rustup-init -y
258+ rm rustup-init
259+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
260+
207261 - name : Update Rust
208262 run : |
209263 rustup toolchain install stable --component clippy --component rustfmt
@@ -258,6 +312,15 @@ jobs:
258312 steps :
259313 - uses : actions/checkout@v2
260314
315+ - name : Install dependencies
316+ if : ${{ env.ACT }}
317+ run : |
318+ curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
319+ chmod +x ./rustup-init
320+ ./rustup-init -y
321+ rm rustup-init
322+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
323+
261324 - name : Update Rust
262325 run : |
263326 rustup toolchain install nightly --component clippy --component rustfmt
0 commit comments