update
Some checks failed
Go Test CI / test-with-alpine (push) Failing after 2m33s
Some checks failed
Go Test CI / test-with-alpine (push) Failing after 2m33s
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -4,8 +4,8 @@ on: [push] # 指定触发事件:当发生推送(push)时运行
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-with-alpine: # 定义一个名为 "test" 的任务
|
test-with-alpine: # 定义一个名为 "test" 的任务
|
||||||
runs-on: ubuntu-latest # 指定任务运行在最新的Ubuntu环境中
|
runs-on: ubuntu-latest
|
||||||
container:golang:alpine # 使用官方的golang:alpine镜像作为容器
|
container: golang:alpine # 关键:使用 golang:alpine 容器作为运行环境
|
||||||
|
|
||||||
steps: # 定义任务执行的一系列步骤
|
steps: # 定义任务执行的一系列步骤
|
||||||
- name: Checkout code # 步骤1:获取代码
|
- name: Checkout code # 步骤1:获取代码
|
||||||
|
|||||||
Reference in New Issue
Block a user