File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1313 - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1414 with :
1515 python-version : " 3.x"
16+ cache : pip
17+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
18+ with :
19+ path : ~/.cache/pre-commit
20+ key : pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
21+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
22+ id : apt-cache
23+ with :
24+ path : /var/cache/apt
25+ key : apt-${{ runner.os }}-shellcheck-shfmt
1626 - name : Install shfmt and shellcheck
27+ if : steps.apt-cache.outputs.cache-hit != 'true'
1728 run : sudo apt-get update && sudo apt-get install -y shellcheck shfmt
1829 - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
1930 with :
You can’t perform that action at this time.
0 commit comments