gospt/.gitea/workflows/push.yaml

16 lines
314 B
YAML
Raw Normal View History

2024-04-06 17:41:58 +00:00
name: build-binary
2024-04-06 16:46:14 +00:00
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
2024-04-06 17:28:14 +00:00
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.22'
cache: true
2024-04-06 16:46:14 +00:00
- run: go mod tidy
- run: go build -o gspot