Skip to content

Commit

Permalink
ci: add go workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed May 9, 2024
1 parent 4ffe2ca commit 978eb48
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go

on:
push:
branches:
- main
pull_request:

jobs:
build:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
go: ["1.22"]
runs-on: ${{ matrix.os }}

name: Build (Go ${{ matrix.go }}, OS ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: go test -race -bench='.+' -v ./...
run: go test -race -bench='.+' -v ./...

0 comments on commit 978eb48

Please sign in to comment.