trying to fix dockerci lint step
continuous-integration/drone/push Build is failing

This commit is contained in:
Mrixs committed 2025-06-23 18:34:46 +03:00
1 parent 2d4d7c2813
commit 304f50fee4
1 file changed
+3 -2
+3 -2
View File
@@ -14,15 +14,16 @@ 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 ./... - CGO_ENABLED=1 go test -race -cover ./...
# Шаг сборки и публикации будет добавлен позже # Шаг сборки и публикации будет добавлен позже
# - name: build-and-publish # - name: build-and-publish
# image: plugins/docker # image: plugins/docker