@@ -22,20 +22,15 @@ jobs:
22
22
timeout-minutes : 5
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v2
25
+ uses : actions/checkout@v3
26
26
- name : Setup Python
27
- uses : actions/setup-python@v2
27
+ uses : actions/setup-python@v4
28
28
with :
29
29
python-version : 3.9
30
- - name : Cache PyPI
31
- uses : actions/cache@v2
32
- with :
33
- key : pip-lint-${{ hashFiles('requirements-dev.txt') }}
34
- path : ~/.cache/pip
35
- restore-keys : |
36
- pip-lint-
30
+ cache : ' pip'
31
+ cache-dependency-path : ' **/requirements*.txt'
37
32
- name : Install dependencies
38
- uses : py-actions/py-dependency-install@v2
33
+ uses : py-actions/py-dependency-install@v4
39
34
with :
40
35
path : requirements-dev.txt
41
36
- name : Install itself
@@ -65,24 +60,15 @@ jobs:
65
60
timeout-minutes : 15
66
61
steps :
67
62
- name : Checkout
68
- uses : actions/checkout@v2
63
+ uses : actions/checkout@v3
69
64
- name : Setup Python ${{ matrix.pyver }}
70
- uses : actions/setup-python@v2
65
+ uses : actions/setup-python@v4
71
66
with :
72
67
python-version : ${{ matrix.pyver }}
73
- - name : Get pip cache dir
74
- id : pip-cache
75
- run : |
76
- echo "::set-output name=dir::$(pip cache dir)" # - name: Cache
77
- - name : Cache PyPI
78
- uses : actions/cache@v2
79
- with :
80
- key : pip-ci-${{ runner.os }}-${{ matrix.pyver }}-${{ hashFiles('requirements-dev.txt') }}
81
- path : ${{ steps.pip-cache.outputs.dir }}
82
- restore-keys : |
83
- pip-ci-${{ runner.os }}-${{ matrix.pyver }}-
68
+ cache : ' pip'
69
+ cache-dependency-path : ' **/requirements*.txt'
84
70
- name : Install dependencies
85
- uses : py-actions/py-dependency-install@v2
71
+ uses : py-actions/py-dependency-install@v4
86
72
with :
87
73
path : requirements.txt
88
74
- name : Install JS dependencies
@@ -95,11 +81,10 @@ jobs:
95
81
COLOR : ' yes'
96
82
- run : python -m coverage xml
97
83
- name : Upload coverage
98
- uses : codecov/codecov-action@v1
84
+ uses : codecov/codecov-action@v3
99
85
with :
100
86
file : ./coverage.xml
101
87
flags : unit
102
- fail_ci_if_error : false
103
88
104
89
check : # This job does nothing and is only used for the branch protection
105
90
if : always()
@@ -122,8 +107,8 @@ jobs:
122
107
runs-on : ubuntu-latest
123
108
steps :
124
109
- name : Checkout
125
- uses : actions/checkout@v2.4.0
126
- - name : Update pip, wheel, setuptools, build, twine, grablib
110
+ uses : actions/checkout@v3
111
+ - name : Install dependencies
127
112
run : |
128
113
python -m pip install -U pip wheel setuptools build twine grablib
129
114
- name : Install JS dependencies
@@ -134,7 +119,7 @@ jobs:
134
119
run : |
135
120
python -m build
136
121
- name : Make Release
137
- uses : aio-libs/create-release@v1.3.3
122
+ uses : aio-libs/create-release@v1.6.6
138
123
with :
139
124
changes_file : CHANGES.txt
140
125
name : aiohttp-devtools
0 commit comments