Skip to content

Commit

Permalink
Merge pull request #561 from fedejaure/feature-update-github-actions
Browse files Browse the repository at this point in the history
Update upload/download artifacts action to v4
  • Loading branch information
fedejaure authored Dec 29, 2023
2 parents 7558a78 + 8744b67 commit e643844
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- github/codeql-action from `v2` to `v3`.
- coverage from `^7.3.2` to `^7.4.0`.
- pypa/gh-action-pypi-publish from from `v1.8.10` to `v1.8.11`.
- actions/upload-artifact from `v2.2.4` to `v4`.
- actions/download-artifact from `v2.0.10` to `v4`.

### Removed
- falke8 and flakeheaven.
Expand Down
10 changes: 6 additions & 4 deletions {{cookiecutter.project_name}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ jobs:
run: nox --force-color -s security

- name: Upload coverage data
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: ${{ matrix.os }}-${{ matrix.python-version }}.coverage-data
path: ".coverage.*"
retention-days: 2

coverage:
needs: tests
Expand All @@ -91,9 +92,10 @@ jobs:
poetry config virtualenvs.in-project true
- name: Download coverage data
uses: actions/download-artifact@v2.0.10
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: "*.coverage-data"
merge-multiple: true

- name: Create coverage report
shell: bash
Expand Down

0 comments on commit e643844

Please sign in to comment.