mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-12-11 10:47:49 +03:00
5cb3d6f034
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/26
23 lines
No EOL
406 B
YAML
23 lines
No EOL
406 B
YAML
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 |