Skip to content

Commit d117188

Browse files
committed
build(Workflows): Updated action versions and added Codecov token.
1 parent 1c46acf commit d117188

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/code-cover.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.event.pull_request.head.sha }}
2020
- name: Set up Python ${{ env.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ env.python-version }}
2424
- name: Install dependencies
@@ -32,6 +32,7 @@ jobs:
3232
- name: Test with pytest and generate coverage report
3333
run: pytest --cov=./pvl --cov-report=xml
3434
- name: Upload coverage to Codecov
35-
uses: codecov/codecov-action@v1
35+
uses: codecov/codecov-action@v5
3636
with:
3737
fail_ci_if_error: true
38+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/python-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest]
15-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
15+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1616
# install-target: ['.', '.[allopts]']
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ github.event.pull_request.head.sha }}
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Display Python version

0 commit comments

Comments
 (0)