Skip to content

Commit

Permalink
add github actions tests
Browse files Browse the repository at this point in the history
Was chatting with @brandonweeks who mentioned go-tpm uses a different CI
and expressed interest in github actions.
  • Loading branch information
ericchiang committed Mar 30, 2023
1 parent 77d0de8 commit 4a44ac7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: go build ./...
- run: go test ./...

0 comments on commit 4a44ac7

Please sign in to comment.