From 304f50fee4084fe5e6168965e98ef065e7a7360f Mon Sep 17 00:00:00 2001 From: Vladimir Zagainov Date: Mon, 23 Jun 2025 18:34:46 +0300 Subject: [PATCH] trying to fix dockerci lint step --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c00aa8b..5b3a7c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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