ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-07-08 17:17:23 +08:00
parent 5bb7869a5c
commit 06e5c364a8

View File

@@ -11,7 +11,7 @@ steps:
- go/pkg/mod - go/pkg/mod
- ~/.cache/go-build - ~/.cache/go-build
backend: local backend: local
cache_key: go-mod-cache-{{ checksum "go.sum" }} cache_key: go-mod-cache-{{ branch }}
- name: build - name: build
image: golang:1.22 image: golang:1.22
@@ -29,7 +29,7 @@ steps:
- go/pkg/mod - go/pkg/mod
- ~/.cache/go-build - ~/.cache/go-build
backend: local backend: local
cache_key: go-mod-cache-{{ checksum "go.sum" }} cache_key: go-mod-cache-{{ branch }}
- name: upload - name: upload
image: appleboy/drone-scp image: appleboy/drone-scp