Skip to content

fix: move snapshot deduplication outside IF block to handle existing … #142

fix: move snapshot deduplication outside IF block to handle existing …

fix: move snapshot deduplication outside IF block to handle existing … #142

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