From 6cef1be255ad38ee11add275bcf90583a5790c95 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Tue, 21 Apr 2026 10:47:40 -0400 Subject: [PATCH] Cache golangci-lint in PR workflow Noticed this wasn't getting cached; we should be able to cache the binary. Ref: https://github.com/bufbuild/plugins/actions/runs/24728448571/job/72335866399?pr=2413 --- .github/workflows/pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 60bde928d..33e14f524 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -72,6 +72,11 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Cache golangci-lint + uses: actions/cache@v4 + with: + path: .tmp/golangci-lint-* + key: golangci-lint-${{ runner.os }}-${{ hashFiles('Makefile') }} - name: Lint run: make lint - name: Test