Skip to content

Commit 08c37c8

Browse files
authored
Merge pull request #334 from cffls/main
Fix codecov
2 parents ac9c94a + 3368285 commit 08c37c8

File tree

3 files changed

+108
-91
lines changed

3 files changed

+108
-91
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Install poetry
2222
run: pipx install poetry
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
cache: 'poetry'
@@ -33,10 +33,12 @@ jobs:
3333
poetry run pytest --doctest-modules --ignore=examples --cov=pycardano --cov-config=.coveragerc --cov-report=xml
3434
- name: "Upload coverage to Codecov"
3535
if: ${{ matrix.python-version == '3.11' }}
36-
uses: codecov/codecov-action@v3
36+
uses: codecov/codecov-action@v4
3737
with:
3838
fail_ci_if_error: true
39+
token: ${{ secrets.CODECOV_TOKEN }}
3940
- name: Run static analyses
41+
if: ${{ matrix.python-version == '3.11' }}
4042
run: |
4143
make qa
4244
@@ -48,11 +50,11 @@ jobs:
4850
python-version: ['3.11']
4951

5052
steps:
51-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5254
- name: Install poetry
5355
run: pipx install poetry
5456
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v4
57+
uses: actions/setup-python@v5
5658
with:
5759
python-version: ${{ matrix.python-version }}
5860
cache: 'poetry'

0 commit comments

Comments
 (0)