aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-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