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