ci: 配置 Docker 容器运行、镜像源及自建 checkout action

This commit is contained in:
hhs
2026-06-13 10:25:02 +08:00
parent 54cf06e1d6
commit 63933a645f
2 changed files with 8 additions and 12 deletions

View File

@@ -11,15 +11,14 @@ on:
jobs:
ci:
runs-on: aliyun
container: golang:1.23-bookworm
env:
GOPROXY: https://goproxy.cn,direct
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- uses: http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4
- name: Download dependencies
run: go mod download