summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-10-14 12:26:14 -0500
committerGitHub <noreply@github.com>2020-10-14 12:26:14 -0500
commit5f3ef9f7c605e49afff7d15420e15c659209ce0e (patch)
treeeae303da619979ce519c8c7ca48a566bbb4a1a8a /.github/workflows/pre-commit.yml
parentf362a4a338d01f381d96bf02025f738a81aad02f (diff)
parent579e508769b5cd753a8dfee2d8c685b9fd2a1266 (diff)
Merge pull request #31 from adafruit/main
Update from adafruit/main
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 966310304..eac9bfe09 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- name: set PY
- run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
+ run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- uses: actions/cache@v1
with:
path: ~/.cache/pre-commit