Skip to content

Commit

Permalink
Use macos-13 for CI (astral-sh#448)
Browse files Browse the repository at this point in the history
## Summary

The `macos-latest` action runner doesn't provide Python 3.7. So, let's
pin it to `macos-13` until we remove support for Python 3.7.

## Test Plan

CI
  • Loading branch information
dhruvmanila authored Jun 18, 2024
1 parent fa328bf commit 98a7a7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
RUFF_UNRELEASED_REF: 'main'
RUFF_UNRELEASED_REF: "main"

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
cache: "pip"
cache-dependency-path: |
pyproject.toml
requirements.txt
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest]

include:
- ruff-version: ${{ needs.ruff-versions.outputs.latest }}
Expand All @@ -89,7 +89,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: "pip"
cache-dependency-path: |
pyproject.toml
requirements.txt
Expand All @@ -101,7 +101,7 @@ jobs:
just install
- name: Install test Ruff version from PyPI
if: ${{ matrix.ruff-version != env.RUFF_UNRELEASED_REF }}
if: ${{ matrix.ruff-version != env.RUFF_UNRELEASED_REF }}
run: |
pip install ruff==${{ matrix.ruff-version }}
ruff --version
Expand Down

0 comments on commit 98a7a7d

Please sign in to comment.