mirror of
https://github.com/ivuorinen/paperboy.git
synced 2026-01-26 11:44:10 +00:00
29 lines
567 B
YAML
29 lines
567 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
|
|
with:
|
|
go-version: "1.25"
|
|
|
|
- name: Build
|
|
run: make build
|
|
|
|
- name: Setup default template and config
|
|
run: cp examples/* .
|
|
|
|
- name: Run program
|
|
run: ./paperboy
|