runner/.forgejo/workflows/test.yml

24 lines
407 B
YAML
Raw Permalink Normal View History

2023-02-28 23:07:43 +00:00
name: checks
on:
- pull_request
- push
2023-02-28 23:07:43 +00:00
env:
GOPROXY: https://goproxy.io,direct
jobs:
lint:
name: check and test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
2023-03-23 06:12:43 +00:00
go-version: 1.19
2023-02-28 23:07:43 +00:00
- uses: actions/checkout@v3
- name: vet checks
run: make vet
- name: build
run: make build
- name: test
2023-03-23 06:12:43 +00:00
run: make test