mirror of
https://github.com/ivuorinen/paperboy.git
synced 2026-01-26 11:44:10 +00:00
chore: Tweak test-build & readme, add editorconfig (#9)
This commit is contained in:
33
.github/workflows/test-build.yml
vendored
33
.github/workflows/test-build.yml
vendored
@@ -1,25 +1,28 @@
|
||||
# This workflow will build a golang project
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
|
||||
|
||||
name: Test Build
|
||||
---
|
||||
name: Test Build and Run
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
test-build-and-run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22"
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
- name: Build
|
||||
run: make build
|
||||
|
||||
- name: Setup default template and config
|
||||
run: cp examples/* .
|
||||
|
||||
- name: Run program
|
||||
run: ./paperboy
|
||||
|
||||
Reference in New Issue
Block a user