X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yaml;h=0c81ff0789fbbd592c784a3bf299ffdf7ea23f67;hb=53ec791dc6b22e581f9e5aabeda5edfc806564cb;hp=c8b18d165064c6e5feedcc6ab6155abb35c79cea;hpb=f4fe2ea2274881e0f82a17734f28478201e2c099;p=rust.git diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c8b18d16506..0c81ff0789f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,7 +38,9 @@ jobs: fetch-depth: 20 - name: Install Rust toolchain - run: rustup update stable && rustup component add rustfmt rust-src + run: | + rustup update --no-self-update stable + rustup component add rustfmt rust-src - name: Cache Dependencies uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72 @@ -66,10 +68,9 @@ jobs: uses: actions/checkout@v3 - name: Install Rust toolchain - run: rustup update stable - - - name: Install Rust targets - run: rustup target add ${{ env.targets }} ${{ env.targets_ide }} + run: | + rustup update --no-self-update stable + rustup target add ${{ env.targets }} ${{ env.targets_ide }} - name: Cache Dependencies uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72