GitHub: cache linter

This commit is contained in:
Oli 2025-10-29 14:48:10 +01:00
parent e9edd22b2f
commit faa2b920c5
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -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