mirror of
https://gitea.com/gitea/act
synced 2026-05-01 01:27:48 +02:00
Reviewed-on: https://gitea.com/gitea/act/pulls/155 Reviewed-by: silverwind <silverwind@noreply.gitea.com> Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com>
19 lines
344 B
YAML
19 lines
344 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: go vet -v ./...
|
|
- name: build
|
|
run: go build -v ./...
|