-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: quickstart-checker.yml 迁移至circleci||feat: quickstart-checker.ym…
…l migrated to circleci (#1052) Co-authored-by: wb-dwl906436@antgroup.com <wb-dwl906436@antgroup.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
test: | ||
machine: true # 使用 machine 执行器 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install psmisc (for killall command) | ||
command: | | ||
sudo apt-get update | ||
sudo apt-get install -y psmisc | ||
# CircleCI 配置中的恢复缓存步骤 | ||
- restore_cache: | ||
keys: | ||
- go-mod-v1-{{ checksum "go.sum" }} | ||
- go-mod-v1- | ||
|
||
# 安装依赖项 | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
go mod download | ||
# 保存缓存步骤 | ||
- save_cache: | ||
paths: | ||
- "~/go/pkg/mod" | ||
key: go-mod-v1-{{ checksum "go.sum" }} | ||
|
||
# 测试步骤 | ||
- run: | ||
name: Test quickstart in Golang 1.18.5 | ||
command: make quickstart | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- test: | ||
filters: | ||
branches: | ||
only: | ||
- main |
This file was deleted.
Oops, something went wrong.