run test from Actions

This commit is contained in:
Earl Warren 2023-03-01 00:07:43 +01:00
parent af6fea7b97
commit 9213f7dc62
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -0,0 +1,23 @@
name: checks
on:
- push
- pull_request
env:
GOPROXY: https://goproxy.io,direct
jobs:
lint:
name: check and test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20
- uses: actions/checkout@v3
- name: vet checks
run: make vet
- name: build
run: make build
- name: test
run: make test