From faa2b920c5ac28260830b8ba6a26bc1eee678b01 Mon Sep 17 00:00:00 2001 From: Oli Date: Wed, 29 Oct 2025 14:48:10 +0100 Subject: [PATCH] GitHub: cache linter --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e270442..2a26845 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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