@@ -3,15 +3,15 @@ name: build-test
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - main
7
7
tags :
8
- - ' *'
8
+ - ' *'
9
9
pull_request :
10
10
branches :
11
- - main
11
+ - main
12
12
schedule :
13
- # 7am EST / 8am EDT Mondays
14
- - cron : ' 0 12 * * 1'
13
+ # 7am EST / 8am EDT Mondays
14
+ - cron : ' 0 12 * * 1'
15
15
16
16
defaults :
17
17
run :
30
30
with :
31
31
fetch-depth : 0
32
32
- name : Set up Python 3
33
- uses : actions/setup-python@v4
33
+ uses : actions/setup-python@v5
34
34
with :
35
35
python-version : 3
36
36
- name : Check python version and install build
39
39
run : pipx run build
40
40
- name : Check distributions
41
41
run : pipx run twine check dist/*
42
- - uses : actions/upload-artifact@v3
42
+ - uses : actions/upload-artifact@v4
43
43
with :
44
44
name : dist
45
45
path : dist/
@@ -50,15 +50,15 @@ jobs:
50
50
runs-on : ubuntu-latest
51
51
strategy :
52
52
matrix :
53
- python-version : ['3.8', '3. 9', '3.10', '3.11', '3.12']
53
+ python-version : ['3.9', '3.10', '3.11', '3.12']
54
54
install : [repo]
55
55
include :
56
- - python-version : ' 3.11 '
57
- install : sdist
58
- - python-version : ' 3.11 '
59
- install : wheel
60
- - python-version : ' 3.9 '
61
- install : editable
56
+ - python-version : ' 3.12 '
57
+ install : sdist
58
+ - python-version : ' 3.12 '
59
+ install : wheel
60
+ - python-version : ' 3.12 '
61
+ install : editable
62
62
env :
63
63
INSTALL_TYPE : ${{ matrix.install }}
64
64
steps :
@@ -67,10 +67,10 @@ jobs:
67
67
with :
68
68
fetch-depth : 0
69
69
- name : Set up Python ${{ matrix.python-version }}
70
- uses : actions/setup-python@v4
70
+ uses : actions/setup-python@v5
71
71
with :
72
72
python-version : ${{ matrix.python-version }}
73
- - uses : actions/download-artifact@v3
73
+ - uses : actions/download-artifact@v4
74
74
with :
75
75
name : dist
76
76
path : dist/
@@ -117,13 +117,13 @@ jobs:
117
117
with :
118
118
fetch-depth : 0
119
119
- name : Set up Python 3
120
- uses : actions/setup-python@v4
120
+ uses : actions/setup-python@v5
121
121
with :
122
122
python-version : 3
123
123
- name : Verify python version
124
124
run : python -V
125
125
- name : Fetch packaged build
126
- uses : actions/download-artifact@v3
126
+ uses : actions/download-artifact@v4
127
127
with :
128
128
name : dist
129
129
path : dist/
0 commit comments