Skip to content

Commit 7d08c27

Browse files
authored
Use taiki-e/install-action and binstall in CI (#17573)
* Use taiki-e/install-action and binstall in CI * Use action hash
1 parent b122a16 commit 7d08c27

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/audit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444
- name: Install cargo-audit
45-
run: cargo install cargo-audit
45+
uses: taiki-e/install-action@849bd009f730a24e9db18262f4e9f062591dee39 # v2
46+
with:
47+
tool: cargo-audit
4648
- name: Run audit check
4749
# Ignored until https://github.com/apache/datafusion/issues/15571
4850
# ignored py03 warning until arrow 55 upgrade

.github/workflows/rust.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ jobs:
409409
sudo apt-get update -qq
410410
sudo apt-get install -y -qq clang
411411
- name: Setup wasm-pack
412-
run: |
413-
cargo install wasm-pack
412+
uses: taiki-e/install-action@849bd009f730a24e9db18262f4e9f062591dee39 # v2
413+
with:
414+
tool: wasm-pack
414415
- name: Run tests with headless mode
415416
working-directory: ./datafusion/wasmtest
416417
run: |
@@ -749,7 +750,10 @@ jobs:
749750
- name: Setup Rust toolchain
750751
uses: ./.github/actions/setup-builder
751752
- name: Install cargo-msrv
752-
run: cargo install cargo-msrv
753+
uses: taiki-e/install-action@849bd009f730a24e9db18262f4e9f062591dee39 # v2
754+
with:
755+
tool: cargo-msrv
756+
753757
- name: Check datafusion
754758
working-directory: datafusion/core
755759
run: |

0 commit comments

Comments
 (0)