Skip to content

Add ClickHouse user and password configuration #3915

Add ClickHouse user and password configuration

Add ClickHouse user and password configuration #3915

Workflow file for this run

on:
pull_request:
branches:
- master
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: true
- uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: --timeout=10m --disable-all -E goimports -j 4
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: true
- uses: dominikh/[email protected]
with:
install-go: false # Go is already installed by setup-go
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: true
- run: go test -v -race -parallel 8 ./...