Skip to content

Commit e3561ea

Browse files
author
alex-omophub
committed
Update GitHub Actions workflows to use latest action versions
- Upgraded `actions/checkout` from v4 to v6 in both `ci.yml` and `publish.yml`. - Updated `codecov/codecov-action` from v4 to v5 in `ci.yml`. - Changed `actions/upload-artifact` and `actions/download-artifact` from v4 to v5 in `publish.yml`.
1 parent 4b0f544 commit e3561ea

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.12"
@@ -33,7 +33,7 @@ jobs:
3333
matrix:
3434
python-version: ["3.10", "3.11", "3.12", "3.13"]
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v6
3737
- uses: actions/setup-python@v5
3838
with:
3939
python-version: ${{ matrix.python-version }}
@@ -46,7 +46,7 @@ jobs:
4646
pytest tests/unit --cov=omophub --cov-report=xml --cov-report=term-missing
4747
- name: Upload coverage to Codecov
4848
if: matrix.python-version == '3.12'
49-
uses: codecov/codecov-action@v4
49+
uses: codecov/codecov-action@v5
5050
with:
5151
files: ./coverage.xml
5252
fail_ci_if_error: false
@@ -57,7 +57,7 @@ jobs:
5757
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
5858
runs-on: ubuntu-latest
5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
6161
- uses: actions/setup-python@v5
6262
with:
6363
python-version: "3.12"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0 # Required for hatch-vcs to get version from tags
1717
- uses: actions/setup-python@v5
@@ -24,7 +24,7 @@ jobs:
2424
- name: Build package
2525
run: python -m build
2626
- name: Upload distributions
27-
uses: actions/upload-artifact@v4
27+
uses: actions/upload-artifact@v5
2828
with:
2929
name: release-dists
3030
path: dist/
@@ -39,7 +39,7 @@ jobs:
3939
id-token: write # Required for trusted publishing
4040
steps:
4141
- name: Download distributions
42-
uses: actions/download-artifact@v4
42+
uses: actions/download-artifact@v5
4343
with:
4444
name: release-dists
4545
path: dist/

0 commit comments

Comments
 (0)