Files
clearpilot/.github/workflows/setup-pre-commit/action.yaml
Comma Device 1ff14d346f wip
2024-05-14 08:21:27 +00:00

13 lines
421 B
YAML
Executable File

name: 'set up pre-commit environment'
runs:
using: "composite"
steps:
- uses: ./.github/workflows/auto-cache
with:
path: .ci_cache/pre-commit
key: pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: |
pre-commit-
save: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' }}