Skip to content

Commit

Permalink
Use macos-11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholastmosher committed Apr 12, 2021
1 parent 4d3a57a commit 51cbb63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 51cbb63

Please sign in to comment.