18
18
name : Rerun pre-commit checks
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions/setup-python@v2
21
+ - uses : actions/checkout@v3
22
+ - uses : actions/setup-python@v4
23
+ with :
24
+ python-version : ' 3.11'
23
25
-
uses :
pre-commit/[email protected]
24
26
tests :
25
27
name : Tests
31
33
python-version : [3.7, 3.8, 3.9, "3.10", "3.11"]
32
34
steps :
33
35
- name : Check out repo
34
- uses : actions/checkout@v2
36
+ uses : actions/checkout@v3
35
37
- name : Set up Python ${{ matrix.python-version }}
36
- uses : actions/setup-python@v2
38
+ uses : actions/setup-python@v4
37
39
with :
38
40
python-version : ${{ matrix.python-version }}
39
41
- name : Install Python tools
71
73
python-arch : [x86, x64]
72
74
steps :
73
75
- name : Check out repo
74
- uses : actions/checkout@v2
76
+ uses : actions/checkout@v3
75
77
- name : Set up Python ${{ matrix.python-version }} ${{ matrix.python-arch }}
76
- uses : actions/setup-python@v2
78
+ uses : actions/setup-python@v4
77
79
with :
78
80
python-version : ${{ matrix.python-version }}
79
81
architecture : ${{ matrix.python-arch }}
@@ -114,7 +116,7 @@ jobs:
114
116
# Reads OPENSLIDE_PATH
115
117
run : python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/small.svs
116
118
- name : Archive wheel
117
- uses : actions/upload-artifact@v2
119
+ uses : actions/upload-artifact@v3
118
120
with :
119
121
name : ${{ env.basename }}
120
122
path : artifacts
@@ -124,9 +126,11 @@ jobs:
124
126
runs-on : ubuntu-latest
125
127
steps :
126
128
- name : Check out repo
127
- uses : actions/checkout@v2
129
+ uses : actions/checkout@v3
128
130
- name : Set up Python
129
- uses : actions/setup-python@v2
131
+ uses : actions/setup-python@v4
132
+ with :
133
+ python-version : ' 3.11'
130
134
- name : Install Python tools
131
135
run : |
132
136
python -m pip install --upgrade pip
@@ -137,7 +141,7 @@ jobs:
137
141
sphinx-build -d doctrees doc artifact/${basename}
138
142
echo "basename=${basename}" >> $GITHUB_ENV
139
143
- name : Archive
140
- uses : actions/upload-artifact@v2
144
+ uses : actions/upload-artifact@v3
141
145
with :
142
146
name : ${{ env.basename }}
143
147
path : artifact
0 commit comments