diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f9100b0..a86fd7b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -49,7 +49,7 @@ jobs: path: dist - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2 + uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3 with: subject-path: "dist/f2py*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aedab53..9d1ee63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.x" + - uses: yezz123/setup-uv@v4 - uses: pre-commit/action@v3.0.1 with: extra_args: --hook-stage manual --all-files @@ -36,7 +37,6 @@ jobs: checks: name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }} - needs: [pre-commit] strategy: fail-fast: false matrix: @@ -44,7 +44,7 @@ jobs: runs-on: [ubuntu-latest, macos-14] include: - - python-version: "pypy-3.10" + - python-version: "pypy-3.9" runs-on: ubuntu-latest steps: @@ -57,12 +57,17 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true + - uses: yezz123/setup-uv@v4 + - name: Install gfortran if: runner.os == 'macOS' - run: brew install gcc + run: | + echo "gfortran: $(which gfortran)" + brew reinstall gfortran + echo "gfortran: $(which gfortran)" - name: Install package - run: python -m pip install .[test] + run: uv pip install --system -e .[test] - name: Test package run: >-