mirror of
https://github.com/infiniteCable2/opendbc.git
synced 2026-02-25 16:43:52 +08:00
14 lines
445 B
YAML
14 lines
445 B
YAML
name: 'Restore cache'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Restore cached cppcheck
|
|
id: cppcache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: opendbc/safety/tests/misra/cppcheck/
|
|
key: cppcheck-cache-${{ runner.os }}-${{ hashFiles('opendbc/safety/tests/misra/install.sh') }}
|
|
- name: Set cache-hit output
|
|
run: echo "cache-hit=${{ steps.cppcache.outputs.cache-hit }}" >> $GITHUB_OUTPUT
|
|
shell: bash
|