Skip to content

sync main to r1.0 to release localcache v1.0.0 (#27) #32

sync main to r1.0 to release localcache v1.0.0 (#27)

sync main to r1.0 to release localcache v1.0.0 (#27) #32

Workflow file for this run

name: Clickhouse Pull Request Check
on:
pull_request:
paths:
- 'clickhouse/**'
- '.github/workflows/clickhouse.yml'
push:
paths:
- 'clickhouse/**'
- '.github/workflows/clickhouse.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Build
run: cd clickhouse && go build -v ./...
- name: Test
run: cd clickhouse && go test -v -coverprofile=coverage.out -gcflags=all=-l ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./clickhouse/coverage.out
flags: clickhouse
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}