Files
test/.gitea/workflows/go-ci.yaml
T
admin 100e9b4f1a
Go Build with Cache / build (push) Failing after 16m7s
test
2026-07-23 13:45:09 +08:00

17 lines
341 B
YAML

name: Go Build with Cache
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 检出代码
uses: actions/checkout@v4
- name: 设置 Go 并缓存
uses: magnetikonline/action-golang-cache@v4
with:
go-version-file: go.mod
- name: 编译
run: go build -o myapp .