Skip to content

Import duckdb-replicator #7324

Import duckdb-replicator

Import duckdb-replicator #7324

Workflow file for this run

on:
pull_request:
paths:
- ".github/workflows/go-test.yml"
- "**.go"
- "go.mod"
- "runtime/resolvers/testdata/**"
name: Test Go code
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.23
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Go fmt
run: test -z $(gofmt -l .)
- name: Go test
run: go test -short -v ./...
env:
RILL_RUNTIME_DRUID_TEST_DSN: ${{ secrets.RILL_RUNTIME_DRUID_TEST_DSN }}