Skip to content

Commit c96650f

Browse files
Update GitHub Action Versions (#332)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ed4d925 commit c96650f

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/base.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4.1.1
2727

2828
- name: Install python 3.9
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5.0.0
3030
with:
3131
python-version: 3.9
3232
architecture: x64
@@ -57,10 +57,10 @@ jobs:
5757
runs-on: ${{ matrix.os }}
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v4.1.1
6161

6262
- name: Install python ${{ matrix.nox_session.python }} for tests
63-
uses: MatteoH2O1999/setup-python@v2 # actions/setup-python@v4
63+
uses: MatteoH2O1999/setup-python@v3.0.0 # actions/setup-python@v5.0.0
6464
id: set-py
6565
with:
6666
python-version: ${{ matrix.nox_session.python }}
@@ -69,7 +69,7 @@ jobs:
6969
cache-build: true
7070

7171
- name: Install python 3.12 for nox
72-
uses: actions/setup-python@v4
72+
uses: actions/setup-python@v5.0.0
7373
with:
7474
python-version: 3.12
7575
architecture: x64
@@ -88,7 +88,7 @@ jobs:
8888
# Share ./docs/reports so that they can be deployed with doc in next job
8989
- name: Share reports with other jobs
9090
# if: matrix.nox_session == '...': not needed, if empty won't be shared
91-
uses: actions/upload-artifact@master
91+
uses: actions/upload-artifact@v4.3.0
9292
with:
9393
name: reports_dir
9494
path: ./docs/reports
@@ -98,10 +98,10 @@ jobs:
9898
if: github.event_name == 'pull_request'
9999
steps:
100100
- name: Checkout
101-
uses: actions/checkout@v2
101+
uses: actions/checkout@v4.1.1
102102

103103
- name: Install python 3.9 for nox
104-
uses: actions/setup-python@v4
104+
uses: actions/setup-python@v5.0.0
105105
with:
106106
python-version: 3.9
107107
architecture: x64
@@ -123,19 +123,19 @@ jobs:
123123
run: echo "$GITHUB_CONTEXT"
124124

125125
- name: Checkout with no depth
126-
uses: actions/checkout@v2
126+
uses: actions/checkout@v4.1.1
127127
with:
128128
fetch-depth: 0 # so that gh-deploy works
129129

130130
- name: Install python 3.9 for nox
131-
uses: actions/setup-python@v4
131+
uses: actions/setup-python@v5.0.0
132132
with:
133133
python-version: 3.9
134134
architecture: x64
135135

136136
# 1) retrieve the reports generated previously
137137
- name: Retrieve reports
138-
uses: actions/download-artifact@master
138+
uses: actions/download-artifact@v4.1.1
139139
with:
140140
name: reports_dir
141141
path: ./docs/reports
@@ -167,7 +167,7 @@ jobs:
167167
EOF
168168
- name: \[not on TAG\] Publish coverage report
169169
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads')
170-
uses: codecov/codecov-action@v1
170+
uses: codecov/codecov-action@v4.0.1
171171
with:
172172
files: ./docs/reports/coverage/coverage.xml
173173

@@ -181,7 +181,7 @@ jobs:
181181
# 8) Publish the wheel on PyPi
182182
- name: \[TAG only\] Deploy on PyPi
183183
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
184-
uses: pypa/gh-action-pypi-publish@release/v1
184+
uses: pypa/gh-action-pypi-publish@v1.8.11
185185
with:
186186
user: __token__
187187
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4.1.1
1616
with:
1717
# [Required] Access token with `workflow` scope.
1818
token: ${{ secrets.WORKFLOW_SECRET }}

0 commit comments

Comments
 (0)