Skip to content

fix: force drop index and use DISTINCT ON for robust deduplication #145

fix: force drop index and use DISTINCT ON for robust deduplication

fix: force drop index and use DISTINCT ON for robust deduplication #145

Workflow file for this run

name: Test Backend
on:
push:
paths:
- "backend/**"
- ".github/workflows/test-backend.yml"
pull_request:
paths:
- "backend/**"
- ".github/workflows/test-backend.yml"
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- run: go vet ./...
- run: go test ./...
- run: CGO_ENABLED=0 GOOS=linux go build -o /dev/null ./cmd/api