Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use taiki-e/install-action for installing some tools in CI #3752

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
version: 0.13.0

- name: Install cargo-zigbuild
run: curl -L https://github.com/rust-cross/cargo-zigbuild/releases/download/v0.19.1/cargo-zigbuild-v0.19.1.x86_64-unknown-linux-musl.tar.gz | tar -z -x -C /usr/local/bin
uses: taiki-e/install-action@v2
with:
tool: cargo-zigbuild

- name: Install frontend Node
uses: actions/[email protected]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ jobs:
rustup default stable

- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest

- name: Setup sccache
uses: mozilla-actions/[email protected]
Expand Down Expand Up @@ -288,7 +290,9 @@ jobs:

- run: mkdir -p ~/.cargo/bin
- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest

- name: Install Node
uses: actions/[email protected]
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/[email protected]

- name: Download grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.19/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install grcov
uses: taiki-e/install-action@v2
with:
tool: grcov

- name: Run test suite with profiling enabled
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/[email protected]

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2.0.0
- name: Install mdbook
uses: taiki-e/install-action@v2
with:
mdbook-version: '0.4.37'
tool: mdbook

- name: Install Node
uses: actions/[email protected]
Expand Down
Loading