Skip to content

Release version 4.x #328

Release version 4.x

Release version 4.x #328

Workflow file for this run

name: Test, build and coverage
on:
push:
branches:
- 'main'
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
test-matrix:
strategy:
matrix:
go-version: ['1.20', '1.21']
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build binary
run: make build
- name: Run tests
run: make test
- name: Send code coverage
uses: codecov/codecov-action@v3