Skip to content

Commit c2d8e9d

Browse files
committed
CI: Upgrade GHA versions
- checkout v2 -> v4 - setup-python v2 -> v5 - upload-artifact v2 -> v4 - download-artifact v2 -> v4 - codecov-action v1 -> v4
1 parent 8cf6a17 commit c2d8e9d

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/gh-pages.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
notebooks:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616

1717
- name: Determine default branch
1818
run: |
@@ -21,7 +21,7 @@ jobs:
2121
echo "default_branch_ref=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV
2222
2323
- name: Set up Python 3.6
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: "3.6"
2727

.github/workflows/pre-commit.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
pre-commit:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-python@v2
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
1717
- uses: pre-commit/[email protected]

.github/workflows/test-release-candidate.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ jobs:
6565
PYTHON: ${{ matrix.python-version }}
6666

6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v4
6969

7070
- name: Set up Python ${{ matrix.python-version }}
71-
uses: actions/setup-python@v2
71+
uses: actions/setup-python@v5
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474

@@ -103,7 +103,7 @@ jobs:
103103
python -m pytest --timeout=300 --cov=fissa --cov-report term --cov-report xml --junitxml=testresults.xml
104104
105105
- name: Upload unittest coverage to Codecov
106-
uses: codecov/codecov-action@v1
106+
uses: codecov/codecov-action@v4
107107
with:
108108
flags: unittests
109109
env_vars: OS,PYTHON
@@ -132,7 +132,7 @@ jobs:
132132

133133
- name: "Notebooks: Upload coverage to Codecov"
134134
if: ${{ env.OS != 'windows-latest' || env.PYTHON != '3.6' }}
135-
uses: codecov/codecov-action@v1
135+
uses: codecov/codecov-action@v4
136136
with:
137137
flags: nbsmoke
138138
env_vars: OS,PYTHON
@@ -144,7 +144,7 @@ jobs:
144144
python setup.py sdist bdist_wheel
145145
146146
- name: Store wheel artifacts
147-
uses: actions/upload-artifact@v2
147+
uses: actions/upload-artifact@v4
148148
with:
149149
name: wheel-${{ matrix.os }}-${{ matrix.python-version }}
150150
path: dist/*
@@ -166,16 +166,16 @@ jobs:
166166

167167
runs-on: ubuntu-latest
168168
steps:
169-
- uses: actions/checkout@v2
169+
- uses: actions/checkout@v4
170170

171171
- name: Download wheel artifacts
172-
uses: actions/download-artifact@v2
172+
uses: actions/download-artifact@v4
173173
with:
174174
name: wheel-*
175175
path: dist/
176176

177177
- name: Store aggregated wheel artifacts
178-
uses: actions/upload-artifact@v2
178+
uses: actions/upload-artifact@v4
179179
with:
180180
name: wheels
181181
path: dist/*

.github/workflows/test.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
PYTHON: ${{ matrix.python-version }}
3737

3838
steps:
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4040

4141
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545

@@ -85,7 +85,7 @@ jobs:
8585
python -m pytest --timeout=180 --cov=fissa --cov-report term --cov-report xml --junitxml=testresults.xml
8686
8787
- name: Upload unittest coverage to Codecov
88-
uses: codecov/codecov-action@v1
88+
uses: codecov/codecov-action@v4
8989
with:
9090
flags: unittests
9191
env_vars: OS,PYTHON
@@ -110,7 +110,7 @@ jobs:
110110
run: python -m pytest --timeout=180 --nbsmoke-run ./examples/ --cov=fissa --cov-report term --cov-report xml --junitxml=nbsmoke.xml
111111

112112
- name: "Notebooks: Upload coverage to Codecov"
113-
uses: codecov/codecov-action@v1
113+
uses: codecov/codecov-action@v4
114114
with:
115115
flags: nbsmoke
116116
env_vars: OS,PYTHON

0 commit comments

Comments
 (0)