From 80dabf0c5dae79b337fdb8171b7721c8e85e0580 Mon Sep 17 00:00:00 2001 From: jjy Date: Tue, 7 May 2024 16:27:53 +0800 Subject: [PATCH] Update ci.yaml Use `--no-self-update` to disable rustup self update --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 538f4f6..cc9ccc7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 @@ -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