mirror of
https://github.com/guggero/chantools.git
synced 2026-08-13 12:33:34 +02:00
GitHub: cache linter
This commit is contained in:
parent
e9edd22b2f
commit
faa2b920c5
1 changed files with 12 additions and 0 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -28,6 +28,18 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: linter cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/tmp/go-lint-cache
|
||||
key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-linter-${{ hashFiles('**/go.sum') }}
|
||||
|
||||
- name: Cache Docker images.
|
||||
uses: ScribeMD/docker-cache@0.5.0
|
||||
with:
|
||||
key: docker-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
|
||||
|
||||
- name: lint
|
||||
run: make lint
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue