Skip to content

Fix CI to not warn in unrelevant occasions #191

Fix CI to not warn in unrelevant occasions

Fix CI to not warn in unrelevant occasions #191

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.22
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -covermode=count -coverprofile=cover.out
- name: Vet
run: go vet ./...
- uses: codecov/codecov-action@v4
with:
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}