9
9
lint :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-python@v2
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-python@v4
14
14
with :
15
15
python-version : 3.x
16
- - uses : actions/cache@v2
16
+ - uses : actions/cache@v3
17
17
with :
18
18
path : ~/.cache/pip
19
19
key : pip
@@ -40,11 +40,11 @@ jobs:
40
40
- python : pypy3
41
41
toxenv : pypy3
42
42
steps :
43
- - uses : actions/checkout@v2
44
- - uses : actions/setup-python@v2
43
+ - uses : actions/checkout@v3
44
+ - uses : actions/setup-python@v4
45
45
with :
46
46
python-version : ${{ matrix.python }}
47
- - uses : actions/cache@v2
47
+ - uses : actions/cache@v3
48
48
with :
49
49
path : ~/.cache/pip
50
50
key : pip
@@ -56,30 +56,30 @@ jobs:
56
56
coverage :
57
57
runs-on : ubuntu-latest
58
58
steps :
59
- - uses : actions/checkout@v2
60
- - uses : actions/setup-python@v2
59
+ - uses : actions/checkout@v3
60
+ - uses : actions/setup-python@v4
61
61
with :
62
62
python-version : 3.x
63
- - uses : actions/cache@v2
63
+ - uses : actions/cache@v3
64
64
with :
65
65
path : ~/.cache/pip
66
66
key : pip
67
67
restore-keys : pip
68
68
- run : python -m pip install --upgrade pip setuptools wheel
69
69
- run : python -m pip install --upgrade tox
70
70
- run : python -m tox -e coverage
71
- - uses : codecov/codecov-action@v1
71
+ - uses : codecov/codecov-action@v3
72
72
73
73
deploy :
74
74
needs : [lint, test]
75
75
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
76
76
runs-on : ubuntu-latest
77
77
steps :
78
- - uses : actions/checkout@v2
79
- - uses : actions/setup-python@v2
78
+ - uses : actions/checkout@v3
79
+ - uses : actions/setup-python@v4
80
80
with :
81
81
python-version : 3.x
82
- - uses : actions/cache@v2
82
+ - uses : actions/cache@v3
83
83
with :
84
84
path : ~/.cache/pip
85
85
key : pip
0 commit comments