From cd9d27b4e4f4803c019007c8fea55ab64b238558 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 14 Jun 2026 12:13:45 -0600 Subject: [PATCH] Update: standardize GitHub Actions (path filters, concurrency, runners) Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 093077d..a4a5f1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,15 +3,36 @@ name: CI on: push: branches: [main] + paths: + - src/** + - tests/** + - bin/** + - package.json + - bun.lock + - tsconfig.json + - .github/workflows/ci.yml pull_request: branches: [main] + paths: + - src/** + - tests/** + - bin/** + - package.json + - bun.lock + - tsconfig.json + - .github/workflows/ci.yml + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true jobs: test: name: Test runs-on: ubuntu-latest + timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: bun-version: latest @@ -21,8 +42,9 @@ jobs: typecheck: name: Typecheck runs-on: ubuntu-latest + timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: bun-version: latest @@ -32,8 +54,9 @@ jobs: shellcheck: name: ShellCheck runs-on: ubuntu-latest + timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Run shellcheck run: | shopt -s nullglob