Skip to content

feat: update globaldb example #462

feat: update globaldb example

feat: update globaldb example #462

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.22"
- 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.22"
- name: Test
run: go test -timeout 30m -v -run "TestDatastoreSuite" .