docs: add early alpha warning #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:18 | |
| env: | |
| POSTGRES_DB: cinder_link | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd="pg_isready -U postgres -d cinder_link" | |
| --health-interval=5s | |
| --health-timeout=5s | |
| --health-retries=10 | |
| env: | |
| CINDER_DATABASE_URL: postgres://postgres:postgres@127.0.0.1:5432/cinder_link?sslmode=disable | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Download dependencies | |
| run: go mod download | |
| - name: Install sqlc | |
| uses: sqlc-dev/setup-sqlc@v4 | |
| with: | |
| sqlc-version: '1.30.0' | |
| - name: Verify sqlc output is up to date | |
| run: | | |
| sqlc generate | |
| git diff --exit-code | |
| - name: Run Go tests | |
| run: go test -race ./... | |
| - name: Run NilAway | |
| run: go tool nilaway ./... | |
| - name: Run DB-backed tunnel smoke flow | |
| run: go test ./internal/integration -run TestDatabaseBackedTunnelSmokeFlow -count=1 |