Skip to content

Introduce database versioning and migrations #485

Introduce database versioning and migrations

Introduce database versioning and migrations #485

Workflow file for this run

name: Go
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Install depedencies
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Build
run: go build -v ./...
- name: Test
run: go test -timeout 20m -v -run "TestCRDT" -race -coverprofile=coverage.txt -covermode=atomic
- name: Staticcheck
run: staticcheck ./...
- name: Send coverage
run: bash <(curl -s https://codecov.io/bash)
suite:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Test
run: go test -timeout 30m -v -run "TestDatastoreSuite" .