From 5f821fe1d17e6a975cff825f151f11670fa85409 Mon Sep 17 00:00:00 2001 From: hxt Date: Tue, 8 Jul 2025 21:12:51 +0800 Subject: [PATCH] =?UTF-8?q?ci(drone):=20=E6=B7=BB=E5=8A=A0=20Go=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=92=8C=E6=9E=84=E5=BB=BA=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 restore cache 和 rebuild cache 步骤中添加了 go-mod-cache 和 go --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index ba79345..3d1bea2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,7 @@ steps: - name: build image: golang:1.22 commands: + - echo "test" > /go/pkg/mod/testfile - echo "==== Before build, go/pkg/mod ====" - ls -lR /go/pkg/mod || echo "/go/pkg/mod not found" - echo "==== Before build, /root/.cache/go-build ===="