Skip to content

fix: GA v1 Go SDK

fix: GA v1 Go SDK #303

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Check License Headers
run: make license-header-check
- name: Run Tests
run: make test-ci
- name: Check Licenses
run: make license-check
# Upload coverage report if main is set
- name: Upload Coverage Report
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: all.coverprofile # optional
flags: unittests # optional
fail_ci_if_error: true # optional (default = false)