From e799aa6ca334c509f4b15fb6b27f0e4da6e729c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:37:14 +0000 Subject: [PATCH 1/2] Bump the actions group with 8 updates Bumps the actions group with 8 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3.5.3` | `4.2.2` | | [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) | `4.1.0` | `5.1.0` | | [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.8.7` | `1.12.3` | | [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `5.24.0` | `6.1.0` | | [actions/cache](https://github.com/actions/cache) | `3.3.1` | `4.2.0` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3.1.2` | `4.6.0` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `3.0.2` | `4.1.8` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `3.1.4` | `5.1.2` | Updates `actions/checkout` from 3.5.3 to 4.2.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.5.3...v4.2.2) Updates `crazy-max/ghaction-github-labeler` from 4.1.0 to 5.1.0 - [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases) - [Commits](https://github.com/crazy-max/ghaction-github-labeler/compare/v4.1.0...v5.1.0) Updates `pypa/gh-action-pypi-publish` from 1.8.7 to 1.12.3 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.7...v1.12.3) Updates `release-drafter/release-drafter` from 5.24.0 to 6.1.0 - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v5.24.0...v6.1.0) Updates `actions/cache` from 3.3.1 to 4.2.0 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.3.1...v4.2.0) Updates `actions/upload-artifact` from 3.1.2 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3.1.2...v4.6.0) Updates `actions/download-artifact` from 3.0.2 to 4.1.8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3.0.2...v4.1.8) Updates `codecov/codecov-action` from 3.1.4 to 5.1.2 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v5.1.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: crazy-max/ghaction-github-labeler dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: release-drafter/release-drafter dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/labeler.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- .github/workflows/tests.yml | 14 +++++++------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 5e7cdac7..6d166db5 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4.2.2 - name: Run Labeler - uses: crazy-max/ghaction-github-labeler@v4.1.0 + uses: crazy-max/ghaction-github-labeler@v5.1.0 with: skip-delete: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a6c736b..2a8084b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4.2.2 with: fetch-depth: 2 @@ -57,21 +57,21 @@ jobs: - name: Publish package on PyPI if: steps.check-version.outputs.tag - uses: pypa/gh-action-pypi-publish@v1.8.7 + uses: pypa/gh-action-pypi-publish@v1.12.3 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} - name: Publish package on TestPyPI if: "! steps.check-version.outputs.tag" - uses: pypa/gh-action-pypi-publish@v1.8.7 + uses: pypa/gh-action-pypi-publish@v1.12.3 with: user: __token__ password: ${{ secrets.TEST_PYPI_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish the release notes - uses: release-drafter/release-drafter@v5.24.0 + uses: release-drafter/release-drafter@v6.1.0 with: publish: ${{ steps.check-version.outputs.tag != '' }} tag: ${{ steps.check-version.outputs.tag }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4514bea4..3c223da9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4.2.2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5.3.0 @@ -98,7 +98,7 @@ jobs: print("::set-output name=result::{}".format(result)) - name: Restore pre-commit cache - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.2.0 if: matrix.session == 'pre-commit' with: path: ~/.cache/pre-commit @@ -112,14 +112,14 @@ jobs: - name: Upload coverage data if: always() && matrix.session == 'tests' - uses: "actions/upload-artifact@v3.1.2" + uses: "actions/upload-artifact@v4.6.0" with: name: coverage-data path: ".coverage.*" - name: Upload documentation if: matrix.session == 'docs-build' - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.6.0 with: name: docs path: docs/_build @@ -129,7 +129,7 @@ jobs: needs: tests steps: - name: Check out the repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4.2.2 - name: Set up Python uses: actions/setup-python@v5.3.0 @@ -159,7 +159,7 @@ jobs: pip install . - name: Download coverage data - uses: actions/download-artifact@v3.0.2 + uses: actions/download-artifact@v4.1.8 with: name: coverage-data @@ -172,4 +172,4 @@ jobs: nox --session=coverage -- xml - name: Upload coverage report - uses: codecov/codecov-action@v3.1.4 + uses: codecov/codecov-action@v5.1.2 From a7042941e0ffb9db95533fbb71a2e4df0a1404ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Mon, 20 Jan 2025 18:38:13 -0600 Subject: [PATCH 2/2] Fix coverage artifact upload and download --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c223da9..109f04fa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -114,7 +114,8 @@ jobs: if: always() && matrix.session == 'tests' uses: "actions/upload-artifact@v4.6.0" with: - name: coverage-data + include-hidden-files: true + name: coverage-data-${{ runner.os }}-${{ matrix.python }} path: ".coverage.*" - name: Upload documentation @@ -161,7 +162,8 @@ jobs: - name: Download coverage data uses: actions/download-artifact@v4.1.8 with: - name: coverage-data + merge-multiple: true + pattern: coverage-data-* - name: Combine coverage data and display human readable report run: |