aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 733d9ce45..abdec602e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -23,9 +23,13 @@ jobs:
23 - name: Checkout repository 23 - name: Checkout repository
24 uses: actions/checkout@v1 24 uses: actions/checkout@v1
25 25
26 - name: Cleanup Rust components (Windows) 26 # We need to disable the existing toolchain to avoid updating rust-docs
27 # which takes a long time. The fastest way to do this is to rename the
28 # existing folder, as deleting it takes about as much time as not doing
29 # anything and just updating rust-docs.
30 - name: Rename existing rust toolchain (Windows)
27 if: matrix.os == 'windows-latest' 31 if: matrix.os == 'windows-latest'
28 run: rustup component remove rust-docs 32 run: Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old
29 33
30 - name: Install Rust toolchain 34 - name: Install Rust toolchain
31 uses: actions-rs/toolchain@v1 35 uses: actions-rs/toolchain@v1