diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4ee4ec..f162ed7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: matrix: os: - "ubuntu-22.04" - - "macos-12" + - "macos-13" - "macos-14" # - "windows-latest" steps: @@ -35,15 +35,15 @@ jobs: 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/cibuildwheel@v2.21.3 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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 588b1a6..275eef5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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' }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8c966d..da89f08 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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]