ci: migrate to Qiniu sandbox runner
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user