We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3487df5 commit dfd6a16Copy full SHA for dfd6a16
.github/workflows/python-linters.yml
@@ -56,7 +56,7 @@ jobs:
56
${{ runner.os }}-pip-
57
${{ runner.os }}-
58
- name: set PY
59
- run: echo "::set-env name=PY::$(python -VV | sha256sum | cut -d' ' -f1)"
+ run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
60
- uses: actions/cache@v1
61
with:
62
path: ~/.cache/pre-commit
0 commit comments