.drone.yml fix
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-02-21 15:53:39 +03:00
parent 5b56a14c6a
commit 792f04077b

View File

@@ -2,9 +2,15 @@ kind: pipeline
type: docker type: docker
name: default name: default
workspace:
base: /drone/src
path: link-shortener
steps: steps:
- name: go test - name: go test
image: golang:1.25-alpine3.21 image: golang:1.25-alpine3.21
environment:
REDIS_URL: redis://redis:6379
commands: commands:
- apk add --no-cache git curl - apk add --no-cache git curl
- go mod tidy - go mod tidy
@@ -18,7 +24,6 @@ steps:
commands: commands:
- docker build -t link-shortener:latest . - docker build -t link-shortener:latest .
services: services:
- name: redis - name: redis
image: redis:latest image: redis:latest