8
8
lint :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
- name : Setup Python
13
- uses : actions/setup-python@v2
13
+ uses : actions/setup-python@v4
14
14
with :
15
15
python-version : 3.9
16
+ cache : pip
17
+ cache-dependency-path : |
18
+ requirements-dev.txt
19
+ setup.py
16
20
- name : Install dependencies
17
21
run : |
18
22
python -m pip install --upgrade pip setuptools wheel
19
23
python -m pip install -r requirements-dev.txt
20
24
- name : Run flake8
21
25
run : flake8
22
- - uses : actions/cache@v2
23
- with :
24
- path : ~/.cache/pip
25
- key : ${{ runner.os }}-pip
26
26
build :
27
27
runs-on : ubuntu-latest
28
28
strategy :
@@ -34,24 +34,24 @@ jobs:
34
34
- py39
35
35
- pypy3
36
36
steps :
37
- - uses : actions/checkout@v2
37
+ - uses : actions/checkout@v3
38
38
- name : Fedora Tox with ${{ matrix.tox_env }}
39
- uses : fedora-python/tox-github-action@v0.4
39
+ uses : fedora-python/tox-github-action@v37.0
40
40
with :
41
41
tox_env : ${{ matrix.tox_env }}
42
- - uses : actions/setup-python@v2
43
- - uses : actions/cache@v2
42
+ - uses : actions/setup-python@v4
44
43
with :
45
- path : ~/.cache/pip
46
- key : ${{ runner.os }}-pip
47
-
44
+ cache : pip
45
+ cache-dependency-path : |
46
+ requirements-dev.txt
47
+ setup.py
48
48
deploy :
49
49
name : Build deploy
50
50
runs-on : ubuntu-latest
51
51
steps :
52
- - uses : actions/checkout@v2
53
- - uses : actions/setup-python@v2
54
- - uses : casperdcl/deploy-pypi@v2
52
+ - uses : actions/checkout@v3
53
+ - uses : actions/setup-python@v4
54
+ - uses : casperdcl/deploy-pypi@v2.3.2
55
55
with :
56
56
password : ${{ secrets.PYPI_TOKEN }}
57
57
build : true
0 commit comments