mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
25 lines
463 B
YAML
25 lines
463 B
YAML
name: Build Go Program
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- name: mod tidy
|
|
run: go mod tidy
|
|
- name: build
|
|
run: CGO_ENABLED=1 go build -v -o dist/showbridge-linux ./cmd/showbridge |