From 92dec0362a7412195d3434ff7dbdf24e88498e68 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 5 Aug 2020 11:53:34 -0400 Subject: [PATCH] chore: update pre-commit GHA --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 174142a..661ba7b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,13 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - - name: set PY - run: echo "::set-env name=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 - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - - uses: pre-commit/action@v1.1.0 + - uses: pre-commit/action@v2.0.0 checks: runs-on: ubuntu-latest @@ -33,6 +27,7 @@ jobs: - 3.5 - 3.6 - 3.8 + name: Check Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v2