Skip to content

Commit

Permalink
Upgrade GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Apr 12, 2024
1 parent ed37497 commit 9309ba0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
- name: "Check out repository"
uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "3.9"
- name: "Build distribution packages"
run: make package-check
- name: "Save distribution directory"
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: "distribution"
path: |
Expand All @@ -29,7 +29,7 @@ jobs:
id-token: "write"
steps:
- name: "Restore distribution directory"
uses: "actions/download-artifact@v3"
uses: "actions/download-artifact@v4"
with:
name: "distribution"
path: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ jobs:
tox -- --cov metsrw --cov-report xml:coverage.xml
- name: "Upload coverage report"
if: github.repository == 'artefactual-labs/mets-reader-writer'
uses: "codecov/codecov-action@v3"
uses: "codecov/codecov-action@v4"
with:
files: ./coverage.xml
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
lint:
name: "Lint"
runs-on: "ubuntu-22.04"
Expand Down

0 comments on commit 9309ba0

Please sign in to comment.