Skip to content

Commit

Permalink
chore(ci): use macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Feb 16, 2024
1 parent 01e3263 commit 37f5f5c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
# The main branch
- main
# And once a week?
# And once a week?
# This can catch things like "rust updated and actually regressed something"
schedule:
- cron: "11 7 * * 1,4"
Expand Down Expand Up @@ -50,17 +50,17 @@ jobs:

# Make sure the docs build without warnings
docs:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rust-docs
- uses: swatinem/rust-cache@v2
- run: cargo doc --workspace --no-deps
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rust-docs
- uses: swatinem/rust-cache@v2
- run: cargo doc --workspace --no-deps

# Build and run tests/doctests/examples on all platforms
# FIXME: look into `cargo-hack` which lets you more aggressively
Expand All @@ -73,7 +73,7 @@ jobs:
strategy:
# Test the cross-product of these platforms+toolchains
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-latest, windows-latest, macOS-14]
rust: [stable]
steps:
# Setup tools
Expand Down

0 comments on commit 37f5f5c

Please sign in to comment.