20 lines
371 B
YAML
20 lines
371 B
YAML
|
name: checks
|
||
|
on:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
name: check and test
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: actions/setup-go@v5
|
||
|
with:
|
||
|
go-version-file: 'go.mod'
|
||
|
- name: vet checks
|
||
|
run: make vet
|
||
|
- name: build
|
||
|
run: make build
|
||
|
- name: test
|
||
|
run: make test
|