Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use only native caches from actions/setup-go and golangci/golangci-lint-action #875

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ jobs:
with:
go-version-file: go.mod

- name: Go Build Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}

- name: Go Mod Cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}

- name: Build binaries
run: make build

Expand All @@ -51,7 +39,10 @@ jobs:
path: bin

- name: Run lint checks
run: make lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1


- name: Ensure generated files are up-to-date
run: make generated-srcs && git diff --exit-code HEAD
Expand Down
Loading