mirror of
https://codeberg.org/scip/watson-starship.git
synced 2025-12-17 20:51:04 +01:00
add ci
This commit is contained in:
@@ -2,7 +2,7 @@ matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
goversion:
|
||||
- 1.24
|
||||
- 1.23
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
@@ -26,11 +26,11 @@ steps:
|
||||
- golangci-lint run ./...
|
||||
depends_on: [build]
|
||||
|
||||
test:
|
||||
when:
|
||||
event: [push]
|
||||
image: golang:${goversion}
|
||||
commands:
|
||||
- go get
|
||||
- go test -v -cover
|
||||
depends_on: [build,linter]
|
||||
# test:
|
||||
# when:
|
||||
# event: [push]
|
||||
# image: golang:${goversion}
|
||||
# commands:
|
||||
# - go get
|
||||
# - go test -v -cover
|
||||
# depends_on: [build,linter]
|
||||
|
||||
Reference in New Issue
Block a user