Skip to content

Commit

Permalink
Merge pull request #15
Browse files Browse the repository at this point in the history
build-sys: add github action to build and test with go 1.19 and 1.20
  • Loading branch information
karasz committed Mar 31, 2023
2 parents d3aefd4 + 53a58bc commit 61076f4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.20' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Build
run: make
- name: Test
run: make test

0 comments on commit 61076f4

Please sign in to comment.