aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-14 20:41:36 +0900
committernsfisis <nsfisis@gmail.com>2026-02-14 20:41:36 +0900
commit3a60ae8fd4c8432ea970e0f325a13de3c1586df1 (patch)
tree98009efd8d0bdaab624a7c90c85290f36ca2cc64 /.github
parent9185367fcd7d95af89fac36dd892d8b064dbd94f (diff)
downloadphperkaigi-2026-albatross-3a60ae8fd4c8432ea970e0f325a13de3c1586df1.tar.gz
phperkaigi-2026-albatross-3a60ae8fd4c8432ea970e0f325a13de3c1586df1.tar.zst
phperkaigi-2026-albatross-3a60ae8fd4c8432ea970e0f325a13de3c1586df1.zip
ci: add GitHub Actions CI workflow with just
Add CI workflow running build/lint checks for all components: - backend: Go build + golangci-lint - worker/swift: Go build + golangci-lint - frontend: Biome + TypeScript + ESLint - worker/php: Biome Add `ci` recipes to each justfile so GHA uses `just ci` uniformly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..6937620
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,64 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+jobs:
+ backend:
+ name: Backend
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: backend/go.mod
+ - uses: extractions/setup-just@v2
+ - run: just ci
+ working-directory: backend
+
+ worker-swift:
+ name: Worker (Swift)
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: worker/swift/go.mod
+ - uses: extractions/setup-just@v2
+ - run: just ci
+ working-directory: worker/swift
+
+ frontend:
+ name: Frontend
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: npm
+ cache-dependency-path: frontend/package-lock.json
+ - uses: extractions/setup-just@v2
+ - run: npm ci
+ working-directory: frontend
+ - run: just ci
+ working-directory: frontend
+
+ worker-php:
+ name: Worker (PHP)
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: npm
+ cache-dependency-path: worker/php/package-lock.json
+ - uses: extractions/setup-just@v2
+ - run: npm ci
+ working-directory: worker/php
+ - run: just ci
+ working-directory: worker/php