mirror of
https://github.com/commaai/opendbc.git
synced 2026-06-08 06:04:45 +08:00
CI: cache pre-commit (#2241)
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -20,6 +20,10 @@ jobs:
|
||||
steps:
|
||||
- uses: commaai/timeout@v1
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/pre-commit/
|
||||
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}-${{ matrix.os }}
|
||||
- run: ./test.sh
|
||||
|
||||
safety_tests:
|
||||
|
||||
Reference in New Issue
Block a user