mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
check linting sometimes else
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
matrix:
|
||||
matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
goversion:
|
||||
@@ -18,7 +18,7 @@ steps:
|
||||
|
||||
linter:
|
||||
when:
|
||||
event: [push]
|
||||
event: [manual]
|
||||
image: golang:${goversion}
|
||||
commands:
|
||||
- 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:
|
||||
- go get
|
||||
- go test -v -cover
|
||||
depends_on: [build,linter]
|
||||
- cd upctl
|
||||
- go test -v -cover
|
||||
depends_on: [build]
|
||||
|
||||
Reference in New Issue
Block a user