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:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user