From 6df702324fe70c795b09148a00bce17dd1232fbd Mon Sep 17 00:00:00 2001 From: Vladimir Zagainov Date: Mon, 23 Jun 2025 13:32:47 +0300 Subject: [PATCH] fix drone ci linting --- .drone.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4aee20c..8a17111 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,13 @@ trigger: steps: - name: lint image: golangci/golangci-lint:v1.59-alpine + volumes: + - name: go-cache + path: /.cache/mod + - name: golangci-cache + path: /.cache/go-build commands: - - golangci-lint run ./... + - golangci-lint run --timeout=5m ./... - name: test image: golang:1.24-alpine @@ -33,3 +38,11 @@ steps: # platforms: # - linux/amd64 # - linux/arm64 + +volumes: + - name: go-cache + host: + path: /tmp/cache/go-modules + - name: golangci-cache + host: + path: /tmp/cache/golangci