@@ -11,11 +11,11 @@ jobs:
11
11
check :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v3
15
- - name : Set up Python 3.11
16
- uses : actions/setup-python@v3
14
+ - uses : actions/checkout@v4
15
+ - name : Set up Python 3.12
16
+ uses : actions/setup-python@v5
17
17
with :
18
- python-version : ' 3.11 '
18
+ python-version : ' 3.12 '
19
19
- name : Install dependencies
20
20
run : |
21
21
python -m pip install --upgrade pip setuptools pre-commit
@@ -27,46 +27,46 @@ jobs:
27
27
runs-on : ubuntu-latest
28
28
strategy :
29
29
matrix :
30
- python-version : ['3.9', '3.10', '3.11']
30
+ python-version : ['3.9', '3.10', '3.11', '3.12', 3.13-dev ]
31
31
fail-fast : false
32
32
steps :
33
- - uses : actions/checkout@v3
33
+ - uses : actions/checkout@v4
34
34
- name : Set up Python ${{ matrix.python-version }}
35
- uses : actions/setup-python@v3
35
+ uses : actions/setup-python@v5
36
36
with :
37
37
python-version : ${{ matrix.python-version }}
38
38
- name : Install dependencies
39
- run : |
40
- python -m pip install --upgrade pip setuptools tox
41
- python -m tox --notest --recreate -e flake8_5, flake8_6
42
- - name : Run tests
43
- run : python -m tox -e flake8_5,flake8_6
39
+ run : python -m pip install --upgrade pip setuptools tox
40
+ - name : Run tests with flake8_6
41
+ run : python -m tox -e flake8_6
42
+ - name : Run tests with flake8_7+
43
+ run : python -m tox -e flake8_7
44
44
45
45
slow_tests :
46
46
runs-on : ubuntu-latest
47
47
strategy :
48
48
fail-fast : false
49
49
steps :
50
- - uses : actions/checkout@v3
51
- - name : Set up Python 3.11
52
- uses : actions/setup-python@v3
50
+ - uses : actions/checkout@v4
51
+ - name : Set up Python 3.12
52
+ uses : actions/setup-python@v5
53
53
with :
54
- python-version : 3.11
54
+ python-version : 3.12
55
55
- name : Install dependencies
56
56
run : |
57
57
python -m pip install --upgrade pip setuptools tox
58
- python -m tox --notest --recreate -e flake8_6
58
+ python -m tox --notest --recreate -e flake8_7
59
59
- name : Run tests
60
- run : python -m tox -e flake8_6 -- --onlyfuzz --no-cov -n auto
60
+ run : python -m tox -e flake8_7 -- --onlyfuzz --no-cov -n auto
61
61
62
62
release :
63
63
runs-on : ubuntu-latest
64
64
needs : [check, test]
65
65
if : github.repository == 'Zac-HD/flake8-trio' && github.ref == 'refs/heads/main'
66
66
steps :
67
- - uses : actions/checkout@v3
67
+ - uses : actions/checkout@v4
68
68
- name : Set up Python 3
69
- uses : actions/setup-python@v3
69
+ uses : actions/setup-python@v5
70
70
- name : Install tools
71
71
run : python -m pip install --upgrade build pip setuptools wheel twine gitpython
72
72
- name : Upload new release
0 commit comments