Skip to content

feat: SaaS tenants, subscriptions, two-stage approval and load-balanced short links #6

feat: SaaS tenants, subscriptions, two-stage approval and load-balanced short links

feat: SaaS tenants, subscriptions, two-stage approval and load-balanced short links #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Install SQLite build dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc libsqlite3-dev
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
- name: Build
run: go build -trimpath -o /tmp/ai-shortlink ./cmd/server
- name: Check JavaScript syntax
run: |
node --check web/static/app.js
node --check web/static/platform_ext.js
- name: Check whitespace
run: git diff --check