From 344093e3d9ef9fd7fec218e67b7a426cd1277196 Mon Sep 17 00:00:00 2001 From: charlie <3140647@qq.com> Date: Wed, 24 Sep 2025 16:50:44 +0800 Subject: [PATCH] update --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b962c0..34dfc61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,8 @@ on: [push] # 指定触发事件:当发生推送(push)时运行 jobs: test-with-alpine: # 定义一个名为 "test" 的任务 - runs-on: ubuntu-latest # 指定任务运行在最新的Ubuntu环境中 - container:golang:alpine # 使用官方的golang:alpine镜像作为容器 + runs-on: ubuntu-latest + container: golang:alpine # 关键:使用 golang:alpine 容器作为运行环境 steps: # 定义任务执行的一系列步骤 - name: Checkout code # 步骤1:获取代码