Skip to content

chore(deps): bump codecov/codecov-action from 5.0.2 to 5.0.7 #177

chore(deps): bump codecov/codecov-action from 5.0.2 to 5.0.7

chore(deps): bump codecov/codecov-action from 5.0.2 to 5.0.7 #177

Workflow file for this run

name: Go
on:
pull_request:
branches: [ "dev", "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.5'
- name: Build main application
run: |
go build -v -o konsume ./cmd/...
go build -v -o konsume main.go
- name: Build plugin
run: go build -v -buildmode=plugin -o plugin/postgresql/postgres.so ./plugin/postgresql
- name: Test with coverage
run: go test ./pkg/... -race -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/[email protected]
with:
files: ./coverage.txt