Skip to content

Commit f901469

Browse files
committed
Migrate to latest action versions. Drop v3.7 from CI and add 3.12
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
1 parent 45637d9 commit f901469

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
lint:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- name: Setup Python
12-
uses: actions/setup-python@v4
12+
uses: actions/setup-python@v5
1313
with:
1414
python-version: '3.11'
1515
cache: 'pip'
@@ -22,13 +22,13 @@ jobs:
2222
test:
2323
strategy:
2424
matrix:
25-
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
25+
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
2626
os: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.os }}
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
- name: Setup Python
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: ${{ matrix.python }}
3434
cache: 'pip'

.github/workflows/pypi-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ jobs:
1212
name: Build source distribution
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Build SDist and wheel
2020
run: pipx run build
2121

22-
- uses: actions/upload-artifact@v3
22+
- uses: actions/upload-artifact@v4
2323
with:
24+
name: artifact
2425
path: dist/*
2526

2627
- name: Check metadata
@@ -30,7 +31,7 @@ jobs:
3031
if: github.event_name == 'push'
3132
needs: [ build_dist ]
3233
steps:
33-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3435
with:
3536
fetch-depth: 0
3637
- name: Set up Python
@@ -40,7 +41,7 @@ jobs:
4041
cache: 'pip'
4142
- name: Install build dependencies
4243
run: pip install -U setuptools wheel build
43-
- uses: actions/download-artifact@v3
44+
- uses: actions/download-artifact@v4
4445
with:
4546
# unpacks default artifact into dist/
4647
# if `name: artifact` is omitted, the action will create extra parent dir

0 commit comments

Comments
 (0)