gitea-register-account-bot/.gitea/workflows/test-commits.yml

21 lines
400 B
YAML
Raw Normal View History

name: Test Changes on Push
on:
push:
jobs:
build-vet-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21' # Specify your Go version
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...