Skip to content

Commit

Permalink
Add github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilder committed Dec 17, 2024
1 parent 04472b8 commit 4ebdcdc
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 4ebdcdc

Please sign in to comment.