mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 11:54:18 +02:00
27 lines
524 B
YAML
27 lines
524 B
YAML
matrix:
|
|
platform:
|
|
- linux/amd64
|
|
goversion:
|
|
- 1.26.4
|
|
|
|
labels:
|
|
platform: ${platform}
|
|
|
|
steps:
|
|
build:
|
|
when:
|
|
event: [push,manual]
|
|
image: golang:${goversion}
|
|
commands:
|
|
- go get
|
|
- go build
|
|
|
|
linter:
|
|
when:
|
|
event: [push,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.12.2
|
|
- golangci-lint --version
|
|
- golangci-lint run ./...
|