Skip to content

Commit cd9d27b

Browse files
Claudeclaude
andcommitted
Update: standardize GitHub Actions (path filters, concurrency, runners)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 343a766 commit cd9d27b

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,36 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- src/**
8+
- tests/**
9+
- bin/**
10+
- package.json
11+
- bun.lock
12+
- tsconfig.json
13+
- .github/workflows/ci.yml
614
pull_request:
715
branches: [main]
16+
paths:
17+
- src/**
18+
- tests/**
19+
- bin/**
20+
- package.json
21+
- bun.lock
22+
- tsconfig.json
23+
- .github/workflows/ci.yml
24+
25+
concurrency:
26+
group: ci-${{ github.ref }}
27+
cancel-in-progress: true
828

929
jobs:
1030
test:
1131
name: Test
1232
runs-on: ubuntu-latest
33+
timeout-minutes: 10
1334
steps:
14-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
1536
- uses: oven-sh/setup-bun@v2
1637
with:
1738
bun-version: latest
@@ -21,8 +42,9 @@ jobs:
2142
typecheck:
2243
name: Typecheck
2344
runs-on: ubuntu-latest
45+
timeout-minutes: 10
2446
steps:
25-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
2648
- uses: oven-sh/setup-bun@v2
2749
with:
2850
bun-version: latest
@@ -32,8 +54,9 @@ jobs:
3254
shellcheck:
3355
name: ShellCheck
3456
runs-on: ubuntu-latest
57+
timeout-minutes: 10
3558
steps:
36-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v5
3760
- name: Run shellcheck
3861
run: |
3962
shopt -s nullglob

0 commit comments

Comments
 (0)