11name : build
2- on :
3- push :
4- branches :
5- - main
6- pull_request :
7- branches :
8- - main
2+ on : [push, pull_request, workflow_dispatch]
93jobs :
104 lint :
115 name : lint
126 runs-on : ubuntu-latest
137 steps :
14- - uses : actions/checkout@v3
15- - uses : actions/setup-python@v3
8+ - uses : actions/checkout@v4
9+ - uses : actions/setup-python@v5
1610 - run : python -m pip install --upgrade pip wheel
1711 - run : pip install tox tox-gh-actions
1812 - run : tox -eflake8
@@ -21,17 +15,17 @@ jobs:
2115 name : tests
2216 strategy :
2317 matrix :
24- os : [ubuntu -latest, macos-latest, windows -latest]
25- python : ['3.7 ', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9 ']
18+ os : [windows -latest, macos-latest, ubuntu -latest]
19+ python : ['pypy-3.10 ', '3.8', '3.9', '3.10', '3.11', '3.12 ']
2620 exclude :
2721 # pypy3 currently fails to run on Windows
2822 - os : windows-latest
29- python : pypy-3.9
23+ python : pypy-3.10
3024 fail-fast : false
3125 runs-on : ${{ matrix.os }}
3226 steps :
33- - uses : actions/checkout@v3
34- - uses : actions/setup-python@v3
27+ - uses : actions/checkout@v4
28+ - uses : actions/setup-python@v5
3529 with :
3630 python-version : ${{ matrix.python }}
3731 - run : python -m pip install --upgrade pip wheel
4135 name : coverage
4236 runs-on : ubuntu-latest
4337 steps :
44- - uses : actions/checkout@v3
45- - uses : actions/setup-python@v3
38+ - uses : actions/checkout@v4
39+ - uses : actions/setup-python@v5
4640 - run : python -m pip install --upgrade pip wheel
4741 - run : pip install tox tox-gh-actions
4842 - run : tox
0 commit comments