trying to fix dockerci lint step
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -14,15 +14,16 @@ steps:
|
||||
image: golang:1.24-alpine
|
||||
commands:
|
||||
- go mod download
|
||||
- go mod tidy
|
||||
- name: lint
|
||||
image: golangci/golangci-lint:v1.59-alpine
|
||||
image: golangci/golangci-lint:v1.64-alpine
|
||||
commands:
|
||||
- golangci-lint run --timeout=5m --verbose ./...
|
||||
|
||||
- name: test
|
||||
image: golang:1.24-alpine
|
||||
commands:
|
||||
- go test -race -cover ./...
|
||||
- CGO_ENABLED=1 go test -race -cover ./...
|
||||
# Шаг сборки и публикации будет добавлен позже
|
||||
# - name: build-and-publish
|
||||
# image: plugins/docker
|
||||
|
||||
Reference in New Issue
Block a user