Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 719e511

Browse files
committed
ci: run linter on CI
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
1 parent c55a8bc commit 719e511

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/go.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ jobs:
2323

2424
- name: Test
2525
run: go test -v ./...
26+
27+
- name: Lint
28+
run: docker run --rm -v $(pwd):/app -v $(go env GOPATH)/pkg:/go/pkg -v $(go env GOCACHE):/cache/go -e GOCACHE=/cache/go -e GOLANGCI_LINT_CACHE=/cache/go -w /app golangci/golangci-lint:v1.50.1 golangci-lint run -v --timeout 10m

0 commit comments

Comments
 (0)