From 7f6306ccd128760e8c27df27987e8c7d5d606f6b Mon Sep 17 00:00:00 2001
From: silverwind <me@silverwind.io>
Date: Mon, 5 Sep 2022 23:35:46 +0200
Subject: [PATCH] Add missing volume to test-e2e (#21079)

Without it, the deps-backend step before is useless as `go test` will not see the files in GOPATH and re-download them.
---
 .drone.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index a4079e8e09..c72c4226d0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -569,6 +569,9 @@ steps:
       TEST_PGSQL_DBNAME: 'testgitea-e2e'
       DEBIAN_FRONTEND: noninteractive
     depends_on: [build-frontend, deps-backend]
+    volumes:
+      - name: deps
+        path: /go
 
 ---
 kind: pipeline