Skip to content

Commit 14fbaa8

Browse files
Bump the github-actions group with 4 updates (#1885)
* Bump the github-actions group with 4 updates Bumps the github-actions group with 4 updates: [actions/setup-python](https://github.com/actions/setup-python), [actions/cache](https://github.com/actions/cache), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) Updates `actions/cache` from 3 to 4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> * Attempt fixing the upload-artifact name collisions --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
1 parent 64697a4 commit 14fbaa8

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: 3.8
2222

.github/workflows/test.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@v4
3434

3535
- name: Set up Python ${{ matrix.python-version }}
36-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
allow-prereleases: true
@@ -44,7 +44,7 @@ jobs:
4444
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
4545
4646
- name: Cache
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: ${{ steps.pip-cache.outputs.dir }}
5050
key:
@@ -67,9 +67,9 @@ jobs:
6767
DB_PORT: 3306
6868

6969
- name: Upload coverage data
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7171
with:
72-
name: coverage-data
72+
name: coverage-data-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.arch }}-mysql
7373
path: ".coverage.*"
7474

7575
postgres:
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions/checkout@v4
109109

110110
- name: Set up Python ${{ matrix.python-version }}
111-
uses: actions/setup-python@v4
111+
uses: actions/setup-python@v5
112112
with:
113113
python-version: ${{ matrix.python-version }}
114114
allow-prereleases: true
@@ -119,7 +119,7 @@ jobs:
119119
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
120120
121121
- name: Cache
122-
uses: actions/cache@v3
122+
uses: actions/cache@v4
123123
with:
124124
path: ${{ steps.pip-cache.outputs.dir }}
125125
key:
@@ -145,9 +145,9 @@ jobs:
145145
DB_PORT: 5432
146146

147147
- name: Upload coverage data
148-
uses: actions/upload-artifact@v3
148+
uses: actions/upload-artifact@v4
149149
with:
150-
name: coverage-data
150+
name: coverage-data-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.database }}
151151
path: ".coverage.*"
152152

153153
sqlite:
@@ -162,7 +162,7 @@ jobs:
162162
- uses: actions/checkout@v4
163163

164164
- name: Set up Python ${{ matrix.python-version }}
165-
uses: actions/setup-python@v4
165+
uses: actions/setup-python@v5
166166
with:
167167
python-version: ${{ matrix.python-version }}
168168
allow-prereleases: true
@@ -173,7 +173,7 @@ jobs:
173173
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
174174
175175
- name: Cache
176-
uses: actions/cache@v3
176+
uses: actions/cache@v4
177177
with:
178178
path: ${{ steps.pip-cache.outputs.dir }}
179179
key:
@@ -193,9 +193,9 @@ jobs:
193193
DB_NAME: ":memory:"
194194

195195
- name: Upload coverage data
196-
uses: actions/upload-artifact@v3
196+
uses: actions/upload-artifact@v4
197197
with:
198-
name: coverage-data
198+
name: coverage-data-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.arch }}-sqlite
199199
path: ".coverage.*"
200200

201201
coverage:
@@ -204,17 +204,18 @@ jobs:
204204
needs: [sqlite, mysql, postgres]
205205
steps:
206206
- uses: actions/checkout@v4
207-
- uses: actions/setup-python@v4
207+
- uses: actions/setup-python@v5
208208
with:
209209
# Use latest, so it understands all syntax.
210210
python-version: "3.11"
211211

212212
- run: python -m pip install --upgrade coverage[toml]
213213

214214
- name: Download coverage data.
215-
uses: actions/download-artifact@v3
215+
uses: actions/download-artifact@v4
216216
with:
217-
name: coverage-data
217+
pattern: coverage-data-*
218+
merge-multiple: true
218219

219220
- name: Combine coverage & check percentage
220221
run: |
@@ -223,7 +224,7 @@ jobs:
223224
python -m coverage report
224225
225226
- name: Upload HTML report if check failed.
226-
uses: actions/upload-artifact@v3
227+
uses: actions/upload-artifact@v4
227228
with:
228229
name: html-report
229230
path: htmlcov
@@ -238,7 +239,7 @@ jobs:
238239
- uses: actions/checkout@v4
239240

240241
- name: Set up Python ${{ matrix.python-version }}
241-
uses: actions/setup-python@v4
242+
uses: actions/setup-python@v5
242243
with:
243244
python-version: 3.8
244245

@@ -248,7 +249,7 @@ jobs:
248249
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
249250
250251
- name: Cache
251-
uses: actions/cache@v3
252+
uses: actions/cache@v4
252253
with:
253254
path: ${{ steps.pip-cache.outputs.dir }}
254255
key:

0 commit comments

Comments
 (0)