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