mailout/.gitea/workflows/push_master.yml

20 lines
No EOL
353 B
YAML

name: build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: 1.22
cache: true
- run: go mod tidy
- run: go test -v ./...
- run: go build