From 328858668d8da4d83e5cfe1377e412d68d7683f1 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:29:56 -0700 Subject: [PATCH 1/2] Bump GitHub Actions --- .github/workflows/main.yml | 2 +- .github/workflows/mypy.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c5d530d..1b1aef3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: with: python-version: ${{ matrix.python }} - name: Set up Python ${{ matrix.python }} using deadsnakes - uses: deadsnakes/action@v3.1.0 + uses: deadsnakes/action@v3.2.0 if: "endsWith(matrix.python, '-dev')" with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index d9fb4a66..dfe6bdf9 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -18,8 +18,8 @@ jobs: name: Check code with mypy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: cache: "pip" cache-dependency-path: "pyproject.toml" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 315e95bf..35106833 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,9 +15,9 @@ jobs: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' cache: pip From 0d3207770828d45cb042f7d993544d4c0a8ce6df Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:30:22 -0700 Subject: [PATCH 2/2] Generate digital attestations for PyPI (PEP 740) --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 35106833..88b0364c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,3 +31,5 @@ jobs: - name: Publish distribution 📦 to PyPI if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' uses: pypa/gh-action-pypi-publish@release/v1 + with: + attestations: true