Skip to content

Commit

Permalink
Add test GitHub action
Browse files Browse the repository at this point in the history
Signed-off-by: Kennelly, Martin <[email protected]>
  • Loading branch information
martinkennelly committed Mar 6, 2021
1 parent 51e2afc commit 0a68506
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install hwdata
run: sudo apt-get install hwdata -y

- name: Go test
run: make test

0 comments on commit 0a68506

Please sign in to comment.