Skip to content

Commit

Permalink
Only run go build action on pull requests (#104)
Browse files Browse the repository at this point in the history
Bumps to #major release tag
  • Loading branch information
harrisoncramer authored Nov 17, 2023
1 parent debbf55 commit 2319726
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2319726

Please sign in to comment.