File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 85
85
os : ubuntu-latest
86
86
tox_env : " py38-xdist"
87
87
- name : " ubuntu-py39"
88
- python : " 3.9-dev "
88
+ python : " 3.9"
89
89
os : ubuntu-latest
90
90
tox_env : " py39-xdist"
91
91
- name : " ubuntu-pypy3"
@@ -124,12 +124,6 @@ jobs:
124
124
fetch-depth : 0
125
125
- name : Set up Python ${{ matrix.python }}
126
126
uses : actions/setup-python@v2
127
- if : matrix.python != '3.9-dev'
128
- with :
129
- python-version : ${{ matrix.python }}
130
- - name : Set up Python ${{ matrix.python }} (deadsnakes)
131
- uses :
deadsnakes/[email protected]
132
- if : matrix.python == '3.9-dev'
133
127
with :
134
128
python-version : ${{ matrix.python }}
135
129
- name : Install dependencies
@@ -166,8 +160,8 @@ jobs:
166
160
- uses : actions/checkout@v2
167
161
- uses : actions/setup-python@v2
168
162
- name : set PY
169
- run : echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
170
- - uses : actions/cache@v1
163
+ run : echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
164
+ - uses : actions/cache@v2
171
165
with :
172
166
path : ~/.cache/pre-commit
173
167
key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
You can’t perform that action at this time.
0 commit comments