From 21715ba7eede0138e828e14f9d8f34bcf90235cb Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Thu, 16 Jul 2020 09:19:04 +1000 Subject: [PATCH] just don't do self updates in ci --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a4ff092d..d96b24c1d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ 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 - run: cargo test --verbose --features serde @@ -52,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 @@ -64,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 @@ -77,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