From 51cbb63f53e2a0c8b2356367a35d7b9fcfcd7b78 Mon Sep 17 00:00:00 2001 From: Nick Mosher Date: Mon, 12 Apr 2021 11:50:31 -0400 Subject: [PATCH] Use macos-11.0 --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d530e46f6b0..bc5f9f7c82f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-11.0] rust: [stable] make: - name: Clippy @@ -70,10 +70,10 @@ jobs: include: - os: ubuntu-latest sccache-path: /home/runner/.cache/sccache - - os: macos-latest + - os: macos-11.0 sccache-path: /Users/runner/Library/Caches/Mozilla.sccache exclude: - - os: macos-latest + - os: macos-11.0 rust: stable make: name: Clippy @@ -86,7 +86,7 @@ jobs: # SCCACHE_RECACHE: 1 # Uncomment this to clear cache, then comment it back out steps: - uses: actions/checkout@v2 - - name: Install sccache (ubuntu-latest) + - name: Install sccache (ubuntu) if: matrix.os == 'ubuntu-latest' env: LINK: https://github.com/mozilla/sccache/releases/download @@ -97,8 +97,8 @@ jobs: curl -L "$LINK/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache echo "$HOME/.local/bin" >> $GITHUB_PATH - - name: Install sccache (macos-latest) - if: matrix.os == 'macos-latest' + - name: Install sccache (macos) + if: matrix.os == 'macos-11.0' run: brew install sccache - name: Install Rust ${{ matrix.rust }} uses: actions-rs/toolchain@v1