Skip to content

Commit 1006f48

Browse files
committed
workflows: update action major versions
Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent e7d8053 commit 1006f48

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/python.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
name: Rerun pre-commit checks
1919
runs-on: ubuntu-latest
2020
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'
2325
- uses: pre-commit/[email protected]
2426
tests:
2527
name: Tests
@@ -31,9 +33,9 @@ jobs:
3133
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
3234
steps:
3335
- name: Check out repo
34-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3537
- name: Set up Python ${{ matrix.python-version }}
36-
uses: actions/setup-python@v2
38+
uses: actions/setup-python@v4
3739
with:
3840
python-version: ${{ matrix.python-version }}
3941
- name: Install Python tools
@@ -71,9 +73,9 @@ jobs:
7173
python-arch: [x86, x64]
7274
steps:
7375
- name: Check out repo
74-
uses: actions/checkout@v2
76+
uses: actions/checkout@v3
7577
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.python-arch }}
76-
uses: actions/setup-python@v2
78+
uses: actions/setup-python@v4
7779
with:
7880
python-version: ${{ matrix.python-version }}
7981
architecture: ${{ matrix.python-arch }}
@@ -114,7 +116,7 @@ jobs:
114116
# Reads OPENSLIDE_PATH
115117
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/small.svs
116118
- name: Archive wheel
117-
uses: actions/upload-artifact@v2
119+
uses: actions/upload-artifact@v3
118120
with:
119121
name: ${{ env.basename }}
120122
path: artifacts
@@ -124,9 +126,11 @@ jobs:
124126
runs-on: ubuntu-latest
125127
steps:
126128
- name: Check out repo
127-
uses: actions/checkout@v2
129+
uses: actions/checkout@v3
128130
- name: Set up Python
129-
uses: actions/setup-python@v2
131+
uses: actions/setup-python@v4
132+
with:
133+
python-version: '3.11'
130134
- name: Install Python tools
131135
run: |
132136
python -m pip install --upgrade pip
@@ -137,7 +141,7 @@ jobs:
137141
sphinx-build -d doctrees doc artifact/${basename}
138142
echo "basename=${basename}" >> $GITHUB_ENV
139143
- name: Archive
140-
uses: actions/upload-artifact@v2
144+
uses: actions/upload-artifact@v3
141145
with:
142146
name: ${{ env.basename }}
143147
path: artifact

0 commit comments

Comments
 (0)