Skip to content

Disable singleton kafka client (#148) #412

Disable singleton kafka client (#148)

Disable singleton kafka client (#148) #412

Workflow file for this run

name: 🔨Build And Test
on:
push:
branches: [v2]
pull_request:
branches: [v2]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Install dependencies
run: go get .
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
args: -c .golangci.yml --timeout=5m -v
- name: Build
run: go build -v ./...
- name: Test
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)