Skip to content

Commit 47a77eb

Browse files
committed
Update GitHub Actions
1 parent 157d0de commit 47a77eb

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727

28-
- uses: hynek/build-and-inspect-python-package@v1
28+
- uses: hynek/build-and-inspect-python-package@v2
2929

3030
# Upload to Test PyPI on every commit on main.
3131
release-test-pypi:
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Download packages built by build-and-inspect-python-package
45-
uses: actions/download-artifact@v3
45+
uses: actions/download-artifact@v4
4646
with:
4747
name: Packages
4848
path: dist
@@ -66,7 +66,7 @@ jobs:
6666

6767
steps:
6868
- name: Download packages built by build-and-inspect-python-package
69-
uses: actions/download-artifact@v3
69+
uses: actions/download-artifact@v4
7070
with:
7171
name: Packages
7272
path: dist

.github/workflows/lint.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
env:
6+
FORCE_COLOR: 1
7+
58
permissions:
69
contents: read
710

@@ -14,4 +17,5 @@ jobs:
1417
- uses: actions/setup-python@v5
1518
with:
1619
python-version: "3.x"
17-
- uses: pre-commit/[email protected]
20+
cache: pip
21+
- uses: pre-commit/[email protected]

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
tox -e py
3535
3636
- name: Upload output images
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
39-
name: images
39+
name: images-${{ matrix.os }}-${{ matrix.python-version }}
4040
path: "*.png"

0 commit comments

Comments
 (0)