Only run go build action on pull requests (#104)

Bumps to #major release tag
This commit is contained in:
Harrison (Harry) Cramer
2023-11-16 21:06:43 -05:00
committed by GitHub
parent debbf55572
commit 231972607d

View File

@@ -1,25 +1,18 @@
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Build
run: make compile
- name: Test
run: make test