mirror of https://code.forgejo.org/forgejo/runner
24 lines
407 B
YAML
24 lines
407 B
YAML
name: checks
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
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.19
|
|
- uses: actions/checkout@v3
|
|
- name: vet checks
|
|
run: make vet
|
|
- name: build
|
|
run: make build
|
|
- name: test
|
|
run: make test
|