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