Build Go using an action
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 45s

This commit is contained in:
Lewis Dale 2024-05-05 19:42:07 +01:00
parent 3d8f1f8311
commit fe03ce1498
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,15 @@
name: Build and copy to prod
on:
push:
jobs:
build-and-copy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build binary
run: go build -o dist/oopsie

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
# Go workspace file # Go workspace file
go.work go.work
dist