diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 55f99c9..5768d27 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,13 @@ updates: directory: "/" # Location of package manifests schedule: interval: "monthly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + all-dependencies: + update-types: + - "major" + - "minor" + - "patch" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 465907b..648b568 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -83,10 +83,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.x" - - name: Upgrade Pip - run: python -m pip install --upgrade pip - - name: Install Poetry - run: python -m pip install build + - name: Install build tooling + run: python -m pip install --upgrade pip build - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages @@ -98,7 +96,7 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + if: startsWith(github.ref, 'refs/tags/v') # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest @@ -120,6 +118,7 @@ jobs: name: >- Sign the Python 🐍 distribution 📦 with Sigstore and upload them to GitHub Release + if: startsWith(github.ref, 'refs/tags/v') needs: - publish-to-pypi runs-on: ubuntu-latest @@ -135,7 +134,7 @@ jobs: name: python-package-distributions path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v2.1.1 + uses: sigstore/gh-action-sigstore-python@v3.0.1 with: inputs: >- ./dist/*.tar.gz