Files
paperboy/.github/workflows/test-build.yml
2024-02-25 04:10:24 +02:00

29 lines
481 B
YAML

---
name: Test Build and Run
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test-build-and-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Build
run: make build
- name: Setup default template and config
run: cp examples/* .
- name: Run program
run: ./paperboy