From 8d7b7ffe76b7de8fc8a2f041b9354064c4363d46 Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Thu, 16 Jul 2020 09:23:09 +1000 Subject: [PATCH] just don't do self updates --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 888d58ad8..d96b24c1d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,10 +34,9 @@ jobs: - uses: actions/checkout@master - name: Install Rust (rustup) run: | - rustup update ${{ matrix.rust }} + rustup update ${{ matrix.rust }} --no-self-update rustup default ${{ matrix.rust }} - run: cargo test --verbose - if: always() - run: cargo test --verbose --features serde - run: cargo test --verbose --features std - run: cargo test --verbose --features kv_unstable @@ -53,7 +52,7 @@ jobs: - uses: actions/checkout@master - name: Install Rust run: | - rustup update stable + rustup update stable --no-self-update rustup default stable rustup component add rustfmt - run: cargo fmt -- --check @@ -65,7 +64,7 @@ jobs: - uses: actions/checkout@master - name: Install Rust run: | - rustup update 1.31.0 + rustup update 1.31.0 --no-self-update rustup default 1.31.0 - run: cargo build --verbose - run: cargo build --verbose --features serde @@ -78,7 +77,7 @@ jobs: - uses: actions/checkout@master - name: Install Rust run: | - rustup update stable + rustup update stable --no-self-update rustup default stable - run: rustup target add thumbv6m-none-eabi - run: cargo build --verbose --target=thumbv6m-none-eabi