Skip to content

Commit b276077

Browse files
committed
github: update actions to avoid deprecation warnings
Signed-off-by: Mike Gilbert <[email protected]>
1 parent 0cc3f9e commit b276077

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- '3.9'
1919
- '3.10'
2020
- '3.11'
21-
- '3.12-dev'
21+
- '3.12'
2222
- '3.13-dev'
2323
- 'pypy-3.10'
2424
exclude:
@@ -34,9 +34,9 @@ jobs:
3434
start-method: 'spawn'
3535
fail-fast: false
3636
steps:
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v5
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
- name: Install dependencies

Diff for: .github/workflows/lint.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ jobs:
66
black:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: "Collect stragglers that Black misses"
1111
id: stragglers
1212
run: |
13-
echo "::set-output name=missed::$(
13+
echo "missed=$(
1414
find bin -type f -not -name '*.py' -not -name '*.sh' | \
15-
xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')"
15+
xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" >> $GITHUB_OUTPUT
1616
- uses: psf/[email protected]
1717
with:
1818
src: . ${{ steps.stragglers.outputs.missed }}
@@ -25,13 +25,12 @@ jobs:
2525
- '3.9'
2626
- '3.10'
2727
- '3.11'
28-
# pylint currently broken under 3.12
29-
# - '3.12-dev'
28+
- '3.12'
3029
fail-fast: false
3130
steps:
32-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3332
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3534
with:
3635
python-version: ${{ matrix.python-version }}
3736
- name: Install python dependencies

Diff for: .github/workflows/pre-commit.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v4
14-
- uses: pre-commit/[email protected]
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.x'
16+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)