Skip to content

Commit 428d64a

Browse files
authored
Merge pull request #250 from ojeda/bindgen
CI: save ~25% of time with pre-built `bindgen`
2 parents 45ffe64 + 1d00cd3 commit 428d64a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ jobs:
191191
- run: rustup component add clippy
192192

193193
# Setup: bindgen
194-
- run: cargo install --version 0.56.0 bindgen
194+
- run: |
195+
curl -o bin/bindgen https://raw.githubusercontent.com/Rust-for-Linux/ci-bin/master/bindgen-0.56.0/bin/bindgen
196+
chmod u+x bin/bindgen
195197
196198
# Setup: busybox
197199
- run: git clone --depth 1 -b 1_30_1 https://github.com/mirror/busybox

0 commit comments

Comments
 (0)