Skip to content

Commit

Permalink
ci: add go workflow
Browse files Browse the repository at this point in the history
Builds and tests on mac, ubuntu and windows.

Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed Jul 3, 2024
1 parent 39bc446 commit fd811ec
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Go

on: # rebuild any PRs and default branch changes
pull_request:
push:
branches:
- main
- staging
- trying

jobs:
build_and_test:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-2019
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build
run: go build
- name: Test
run: go test -v ./...

0 comments on commit fd811ec

Please sign in to comment.