Skip to content

Add gh action for checks and tests #102

Add gh action for checks and tests

Add gh action for checks and tests #102

Workflow file for this run

name: Go
on:
[push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Test
run: make test
- name: Benchmark
run: go test -v -run=XXX -benchmem -bench=. ./...
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Checks
run: make checks