From c57c97c7c8e1e47e57164601ef5e9c769a03f73e Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 13 Oct 2020 23:54:04 +0900 Subject: [PATCH] Disable macOS cache to fix spurious failures (#116) --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 25 +------------------------ .github/workflows/msrv.yml | 2 +- .github/workflows/upload-doc.yml | 2 +- .github/workflows/windows.yml | 2 +- 5 files changed, 5 insertions(+), 28 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c943393d0..04b21936a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -27,7 +27,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9f20d205d..079e85a89 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -20,7 +20,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 @@ -29,24 +29,6 @@ jobs: profile: minimal override: true - - name: Generate Cargo.lock - uses: actions-rs/cargo@v1 - with: - command: generate-lockfile - - name: Cache cargo dirs - uses: actions/cache@v2 - with: - path: - ~/.cargo/registry - ~/.cargo/git - ~/.cargo/bin - key: ${{ matrix.version }}-x86_64-apple-darwin-gnu-cargo-trimmed-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v2 - with: - path: target - key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }} - - name: check build uses: actions-rs/cargo@v1 with: @@ -62,8 +44,3 @@ jobs: --package=actix-protobuf --package=actix-web-httpauth --all-features --no-fail-fast -- --nocapture - - - name: Clear the cargo caches - run: | - cargo install cargo-cache --no-default-features --features ci-autoclean - cargo-cache diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 2e42d1235..8917cc283 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -26,7 +26,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index 38b3bfdc9..3b9d2b2d1 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -11,7 +11,7 @@ jobs: if: github.repository == 'actix/actix-extras' steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Install Rust uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 57dede744..faf4b0389 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,7 +24,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1