@@ -32,12 +32,12 @@ jobs:
3232 - name : Install isort
3333 run : pip install isort
3434 - name : isort
35- uses : liskin/gh-problem-matcher-wrap@v1
35+ uses : liskin/gh-problem-matcher-wrap@v2
3636 with :
3737 linters : isort
3838 run : isort scripts/ tcod/ tests/ --check --diff
3939 - name : isort (examples)
40- uses : liskin/gh-problem-matcher-wrap@v1
40+ uses : liskin/gh-problem-matcher-wrap@v2
4141 with :
4242 linters : isort
4343 run : isort examples/ --check --diff --thirdparty tcod
4949 - name : Install Flake8
5050 run : pip install Flake8
5151 - name : Flake8
52- uses : liskin/gh-problem-matcher-wrap@v1
52+ uses : liskin/gh-problem-matcher-wrap@v2
5353 with :
5454 linters : flake8
5555 run : flake8 scripts/ tcod/ tests/
6666 run : |
6767 echo '__version__ = ""' > tcod/version.py
6868 - name : Mypy
69- uses : liskin/gh-problem-matcher-wrap@v1
69+ uses : liskin/gh-problem-matcher-wrap@v2
7070 with :
7171 linters : mypy
7272 run : mypy --show-column-numbers .
@@ -115,7 +115,7 @@ jobs:
115115 run : |
116116 git submodule update --init --recursive --depth 1
117117 - name : Set up Python ${{ matrix.python-version }}
118- uses : actions/setup-python@v2
118+ uses : actions/setup-python@v4
119119 with :
120120 python-version : ${{ matrix.python-version }}
121121 architecture : ${{ matrix.architecture }}
@@ -146,21 +146,21 @@ jobs:
146146 - name : Xvfb logs
147147 if : runner.os != 'Windows'
148148 run : cat /tmp/xvfb.log
149- - uses : codecov/codecov-action@v2
149+ - uses : codecov/codecov-action@v3
150150 - name : Upload to PyPI
151151 if : startsWith(github.ref, 'refs/tags/') && runner.os != 'Linux'
152152 env :
153153 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
154154 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
155155 run : |
156156 twine upload --skip-existing dist/*
157- - uses : actions/upload-artifact@v2
157+ - uses : actions/upload-artifact@v3
158158 if : runner.os == 'Linux'
159159 with :
160160 name : sdist
161161 path : dist/tcod-*.tar.gz
162162 retention-days : 7
163- - uses : actions/upload-artifact@v2
163+ - uses : actions/upload-artifact@v3
164164 if : runner.os == 'Windows'
165165 with :
166166 name : wheels-windows
@@ -175,7 +175,7 @@ jobs:
175175 os : ["ubuntu-20.04", "windows-2019"]
176176 steps :
177177 - name : Set up Python
178- uses : actions/setup-python@v2
178+ uses : actions/setup-python@v4
179179 with :
180180 python-version : 3.x
181181 - name : Install Python dependencies
@@ -187,7 +187,7 @@ jobs:
187187 run : |
188188 sudo apt-get update
189189 sudo apt-get install libsdl2-dev
190- - uses : actions/download-artifact@v2
190+ - uses : actions/download-artifact@v3
191191 with :
192192 name : sdist
193193 - name : Build package in isolation
@@ -210,12 +210,12 @@ jobs:
210210 fetch-depth : ${{ env.git-depth }}
211211 - name : Set up QEMU
212212 if : ${{ matrix.arch == 'aarch64' }}
213- uses : docker/setup-qemu-action@v1
213+ uses : docker/setup-qemu-action@v2
214214 - name : Checkout submodules
215215 run : |
216216 git submodule update --init --recursive --depth 1
217217 - name : Set up Python
218- uses : actions/setup-python@v2
218+ uses : actions/setup-python@v4
219219 with :
220220 python-version : " 3.x"
221221 - name : Install Python dependencies
@@ -238,7 +238,7 @@ jobs:
238238 CIBW_BEFORE_TEST : pip install numpy
239239 CIBW_TEST_COMMAND : python -c "import tcod"
240240 - name : Archive wheel
241- uses : actions/upload-artifact@v2
241+ uses : actions/upload-artifact@v3
242242 with :
243243 name : wheels-linux
244244 path : wheelhouse/*.whl
@@ -283,7 +283,7 @@ jobs:
283283 CIBW_TEST_COMMAND : python -c "import tcod"
284284 CIBW_TEST_SKIP : " pp* *-macosx_arm64 *-macosx_universal2:arm64"
285285 - name : Archive wheel
286- uses : actions/upload-artifact@v2
286+ uses : actions/upload-artifact@v3
287287 with :
288288 name : wheels-macos
289289 path : wheelhouse/*.whl
0 commit comments