Skip to content

Add tests action

Add tests action #2

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Check style
run: make check_style
- name: Build
run: make bin
- name: Test
run: go test -v -race ./pkg/...