sealme/.forgejo/workflows/go.yaml

26 lines
363 B
YAML
Raw Normal View History

2023-09-03 16:13:41 +00:00
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-09-03 16:13:41 +00:00
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...