Skip to content
Merged
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .github/workflows/lint-fmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
tools/go.sum

- name: Cache golangci-lint analysis
uses: actions/cache@v4
with:
path: ~/.cache/golangci-lint
key: golangci-lint-${{ runner.os }}-${{ hashFiles('tools/go.sum', '.golangci.yaml', 'go.mod') }}
restore-keys: |
golangci-lint-${{ runner.os }}-

- name: Lint
run: make lint
Expand All @@ -31,6 +42,17 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
tools/go.sum

- name: Cache golangci-lint analysis
uses: actions/cache@v4
with:
path: ~/.cache/golangci-lint
key: golangci-lint-${{ runner.os }}-${{ hashFiles('tools/go.sum', '.golangci.yaml', 'go.mod') }}
restore-keys: |
golangci-lint-${{ runner.os }}-

- name: Format
run: make fmt
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
tools/go.sum

- name: Generate Manifest
run: make manifest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
tools/go.sum

- uses: docker/login-action@v3
with:
Expand Down
Loading