You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
420 B
12 lines
420 B
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' }}
|
|
|