Skip to content

Commit 2ab1034

Browse files
committed
👽 update used ci/cd template
1 parent a4bb6bc commit 2ab1034

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Set up Python
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: "3.x"
2424
- name: Install pypa/build
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build a binary wheel and a source tarball
3131
run: python3 -m build
3232
- name: Store the distribution packages
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v6
3434
with:
3535
name: python-package-distributions
3636
path: dist/
@@ -50,7 +50,7 @@ jobs:
5050

5151
steps:
5252
- name: Download all the dists
53-
uses: actions/download-artifact@v4.1.7
53+
uses: actions/download-artifact@v7
5454
with:
5555
name: python-package-distributions
5656
path: dist/
@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- name: Download all the dists
74-
uses: actions/download-artifact@v4.1.7
74+
uses: actions/download-artifact@v7
7575
with:
7676
name: python-package-distributions
7777
path: dist/

.github/workflows/test.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
# Maps tcp port 5432 on service container to the host
4747
- 5432:5432
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v6
5050
with:
5151
fetch-depth: 0
5252
- name: Setup python for test ${{ matrix.python-version }}
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v6
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
- name: Install tox
@@ -64,5 +64,7 @@ jobs:
6464
POSTGRES_HOST: localhost
6565
# The default PostgreSQL port
6666
POSTGRES_PORT: 5432
67-
- name: Upload coverage reports to Codecov
68-
uses: codecov/codecov-action@v3
67+
- name: Upload coverage reports to Codecov with GitHub Action
68+
uses: codecov/codecov-action@v5
69+
env:
70+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)