Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#322)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](astral-sh/ruff-pre-commit@v0.7.3...v0.7.4)

* Update mac runner

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dan Foreman-Mackey <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and dfm authored Nov 23, 2024
1 parent a0298a2 commit d0d869d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ jobs:
matrix:
os:
- "ubuntu-22.04"
- "macos-12"
- "macos-13"
- "macos-14"
# - "windows-latest"
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up macOS-12
- name: Set up macOS-13
run: brew unlink gfortran && brew link --overwrite gfortran
if: ${{ matrix.os == 'macos-12' }}
if: ${{ matrix.os == 'macos-13' }}
- name: Set up macOS-14
run: echo "FC=gfortran-13" >> "$GITHUB_ENV"
if: ${{ matrix.os == 'macos-14' }}
- uses: pypa/[email protected]
env:
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.os == 'macos-12' && '12.0' || '14.0' }}"
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.os == 'macos-13' && '13.0' || '14.0' }}"
- uses: actions/upload-artifact@v4
with:
name: binary-${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
os: [ubuntu-latest]
nox-session: ["tests"]
include:
- os: macos-12
- os: macos-13
python-version: "3.11"
nox-session: "tests"
- os: macos-14
Expand All @@ -45,9 +45,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc g++ gfortran
if: ${{ runner.os == 'Linux' }}
- name: Set up macOS-12
- name: Set up macOS-13
run: brew unlink gfortran && brew link --overwrite gfortran
if: ${{ matrix.os == 'macos-12' }}
if: ${{ matrix.os == 'macos-13' }}
- name: Set up macOS-14
run: echo "FC=gfortran-13" >> "$GITHUB_ENV"
if: ${{ matrix.os == 'macos-14' }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: black-jupyter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.3"
rev: "v0.7.4"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

0 comments on commit d0d869d

Please sign in to comment.