Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
Use `--no-self-update` to disable rustup self update
  • Loading branch information
jjyr authored May 7, 2024
1 parent 9445cbe commit 80dabf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust Toolchain
run: |
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --profile minimal --component rustfmt
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --no-self-update --profile minimal --component rustfmt
rustup override set ${{ env.RUST_TOOLCHAIN }}
- name: Format Check
run: make fmt
Expand All @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust Toolchain
run: |
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --profile minimal --component clippy
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --no-self-update --profile minimal --component clippy
rustup override set ${{ env.RUST_TOOLCHAIN }}
- name: Lint Check
run: make clippy
Expand All @@ -51,7 +51,7 @@ jobs:
submodules: recursive
- name: Install Rust Toolchain
run: |
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --profile minimal
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --no-self-update --profile minimal
rustup override set ${{ env.RUST_TOOLCHAIN }}
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
Expand Down

0 comments on commit 80dabf0

Please sign in to comment.