Skip to content

rename clusters to nodes in API and codegen bindings #353

rename clusters to nodes in API and codegen bindings

rename clusters to nodes in API and codegen bindings #353

Workflow file for this run

name: Test backend
on:
push:
jobs:
backend-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: default
POSTGRES_PASSWORD: default
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: "postgresql://default:default@localhost:5432/postgres?sslmode=disable"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: true
- run: go build ./cmd/backend
- run: go run ./cmd/migrate
- run: go test ./...