gospt/.gitea/workflows/push.yaml

16 lines
309 B
YAML
Raw Normal View History

2024-04-06 18:17:37 +00:00
name: builder
2024-04-06 16:46:14 +00:00
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
2024-04-06 18:17:37 +00:00
build:
2024-04-06 16:46:14 +00:00
runs-on: ubuntu-latest
steps:
2024-04-06 17:28:14 +00:00
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
2024-04-06 17:28:14 +00:00
with:
2024-05-30 22:19:52 +00:00
go-version: "1.22"
2024-04-06 17:28:14 +00:00
cache: true
2024-04-06 16:46:14 +00:00
- run: go mod tidy
- run: go build -o gspot