Commit 73e94b22e7c0894d8e09a332be6de2542be71390

Authored by Henry Schreiner
Committed by GitHub
1 parent 2b059cbd

ci: update pre-commit (#488)

Caching is now internal! Much nicer.
Showing 1 changed file with 1 additions and 7 deletions
.github/workflows/tests.yml
... ... @@ -15,13 +15,7 @@ jobs:
15 15 steps:
16 16 - uses: actions/checkout@v2
17 17 - uses: actions/setup-python@v2
18   - - name: set PY
19   - run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
20   - - uses: actions/cache@v1
21   - with:
22   - path: ~/.cache/pre-commit
23   - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
24   - - uses: pre-commit/action@v1.1.0
  18 + - uses: pre-commit/action@v2.0.0
25 19  
26 20 cuda-build:
27 21 name: CUDA build only
... ...