Skip to content

Commit

Permalink
Merge pull request #216 from jwilder/jwilder/action
Browse files Browse the repository at this point in the history
Add github build action
  • Loading branch information
jwilder authored Dec 17, 2024
2 parents 2a979de + 4ebdcdc commit 54e60b4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Go Build and Test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23

- name: Build
run: go build -v ./...

- name: Run tests
run: go test -v ./...

0 comments on commit 54e60b4

Please sign in to comment.