ci: migrate to Qiniu sandbox runner

This commit is contained in:
2026-07-30 16:20:03 +08:00
parent 80e91e7b43
commit 40971167a6
7 changed files with 275 additions and 49 deletions
+16
View File
@@ -0,0 +1,16 @@
name: CI Go prep
description: Prepare Go directories and restore the Go module cache.
runs:
using: composite
steps:
- name: Prepare Go directories
shell: bash
run: |
set -euo pipefail
# Keep writable Go directories outside the runner template's built-in GOPATH.
mkdir -p "${GOCACHE}" "${GOMODCACHE}" "${GOPATH}/bin"
- name: Restore Go module cache from S3
continue-on-error: true
shell: bash
run: bash "${GITHUB_WORKSPACE}/.github/scripts/ci/restore-go-cache.sh"