Skip to content

feat(backend): refactor list document queries #398

feat(backend): refactor list document queries

feat(backend): refactor list document queries #398

Workflow file for this run

name: Test Go
on:
push:
branches:
- main
paths:
- ".github/workflows/test-go.yml"
- "go.mod"
- "backend/**"
pull_request:
paths:
- ".github/workflows/test-go.yml"
- "go.mod"
- "backend/**"
branches-ignore:
- "renovate/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23.3"
- run: go test --count 1 ./backend/...
# Run tests again with the race-detector.
# Using the same job to reuse the build cache.
- run: go test --count 1 -race ./backend/...