check linting sometimes else

This commit is contained in:
2025-12-02 20:31:19 +01:00
parent a9b4f94986
commit bfadfbc73b

View File

@@ -1,4 +1,4 @@
matrix: matrix:
platform: platform:
- linux/amd64 - linux/amd64
goversion: goversion:
@@ -18,7 +18,7 @@ steps:
linter: linter:
when: when:
event: [push] event: [manual]
image: golang:${goversion} image: golang:${goversion}
commands: commands:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0 - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
@@ -33,4 +33,6 @@ steps:
commands: commands:
- go get - go get
- go test -v -cover - go test -v -cover
depends_on: [build,linter] - cd upctl
- go test -v -cover
depends_on: [build]