Skip to content

Commit dbd9282

Browse files
jinzhongjiajinzhongjia
authored andcommitted
chore: remove scheduled workflow and master Zig version from CI
- Drop scheduled (cron) unit test workflow to reduce unnecessary CI load - Test matrix no longer includes Zig "master" version, only stable releases - Update documentation to match new Zig version coverage
1 parent 785aaf0 commit dbd9282

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
name: Unit Tests
22

3-
run-name: "🧪 Unit Tests · ${{ github.event_name == 'schedule' && 'Scheduled (master)' || (github.event_name == 'workflow_dispatch' && 'Manual Run' || (github.event_name == 'pull_request' && format('PR #{0}', github.event.pull_request.number) || github.ref_name)) }}"
3+
run-name: "🧪 Unit Tests · ${{ github.event_name == 'workflow_dispatch' && 'Manual Run' || (github.event_name == 'pull_request' && format('PR #{0}', github.event.pull_request.number) || github.ref_name) }}"
44

55
on:
66
push:
77
branches:
88
- main
99
pull_request:
10-
schedule:
11-
# 每天凌晨 2 点执行
12-
- cron: "0 2 * * *"
1310
workflow_dispatch:
1411

1512
jobs:
@@ -19,8 +16,7 @@ jobs:
1916
matrix:
2017
# 架构配置标识符
2118
arch_config: [linux-x86_64, linux-aarch64, macos-arm64, windows-x86_64]
22-
# 定时任务只测试 master 版本,其他情况测试所有版本
23-
version: ${{ github.event_name == 'schedule' && fromJSON('["master"]') || fromJSON('["0.14.1", "0.15.1", "0.16.0", "master"]') }}
19+
version: ["0.14.1", "0.15.1", "0.16.0"]
2420
include:
2521
# Linux x86_64
2622
- arch_config: linux-x86_64

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ Tests use Zig's built-in testing framework. The test suite in `src/test.zig` cov
8282

8383
## CI/CD
8484

85-
GitHub Actions workflow tests against multiple Zig versions (0.14.1, 0.15.1, 0.16.0, and master) to ensure compatibility.
85+
GitHub Actions workflow tests against multiple Zig versions (0.14.1, 0.15.1, 0.16.0) to ensure compatibility.

0 commit comments

Comments
 (0)