From 792f04077b614a2f6d4c366fc735835835e81989 Mon Sep 17 00:00:00 2001 From: Giovanni Rezcjikov Date: Sat, 21 Feb 2026 15:53:39 +0300 Subject: [PATCH] .drone.yml fix --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4a32cff..78d98d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,9 +2,15 @@ kind: pipeline type: docker name: default +workspace: + base: /drone/src + path: link-shortener + steps: - name: go test image: golang:1.25-alpine3.21 + environment: + REDIS_URL: redis://redis:6379 commands: - apk add --no-cache git curl - go mod tidy @@ -18,7 +24,6 @@ steps: commands: - docker build -t link-shortener:latest . - services: - name: redis image: redis:latest