Skip to content

Commit fa3dcd0

Browse files
committed
ci: docker-image.yml 补 pull_request 触发(此前仅 tag 构建, Dependabot PR 无测试门禁) + go vet 步骤
1 parent 17de440 commit fa3dcd0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: 'Docker 镜像构建'
22
on:
33
workflow_dispatch:
4+
pull_request:
45
push:
6+
branches:
7+
- main
58
tags:
69
- 'v*'
710
permissions:
@@ -18,6 +21,8 @@ jobs:
1821
go-version: '1.25'
1922
- name: '杩愯娴嬭瘯'
2023
run: go test ./...
24+
- name: '静态检查 go vet'
25+
run: go vet ./...
2126
- name: '构建 Docker 镜像'
2227
run: |
2328
docker build -t simple-web-shell .

0 commit comments

Comments
 (0)