Add GitHub actions

This commit is contained in:
Jacob
2022-08-23 03:07:11 -05:00
committed by GitHub
parent 06095d9cc4
commit 69d3399c24

25
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
check-latest: true
- name: Lint
run: go vet ...
- name: Build
run: make build