Run linter once
This commit is contained in:
@@ -6,18 +6,14 @@ matrix:
|
||||
labels:
|
||||
platform: ${platform}
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
when:
|
||||
branch: master
|
||||
event: [push, pull_request, tag]
|
||||
|
||||
steps:
|
||||
lint:
|
||||
image: golangci/golangci-lint:v2.12
|
||||
commands:
|
||||
- golangci-lint run --timeout 5m
|
||||
when:
|
||||
event: [push, pull_request, tag]
|
||||
|
||||
test-build:
|
||||
image: docker:27-dind
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user