2023-12-31 06:14:50 -08:00
|
|
|
when:
|
2024-01-06 19:04:41 -08:00
|
|
|
branch:
|
|
|
|
exclude: stable
|
2023-12-31 06:14:50 -08:00
|
|
|
|
2023-12-29 18:51:01 -08:00
|
|
|
steps:
|
|
|
|
check:
|
|
|
|
image: golang:alpine
|
|
|
|
commands:
|
|
|
|
- apk update && apk add curl vips-dev build-base
|
|
|
|
- make backend
|
|
|
|
# Install golangci-lint
|
|
|
|
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
|
|
|
|
- golangci-lint run
|