Skip to content

Add CI Pipeline (#2) #6

Add CI Pipeline (#2)

Add CI Pipeline (#2) #6

Workflow file for this run

name: zk
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
services:
zookeeper:
image: zookeeper:3.9.2
ports:
- 2181:2181
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21.9"
- name: Lint
run: make lint
- name: Test
run: make test
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/[email protected]
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov