From 681e62308ebc28e679d8a7c4d23baaaea73a2f67 Mon Sep 17 00:00:00 2001 From: Jeremy Loy Date: Sat, 2 Nov 2019 22:34:03 -0400 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..8ba7c37 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,27 @@ +name: Go +on: [push] +jobs: + + test: + name: Test on go ${{ matrix.go_version }} and ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + go_Version: ['1.13'] + os: [ubuntu-latest, windows-latest, macOS-latest] + steps: + + - name: Set up Go ${{ matrix.go_version }} + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go_version }} + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v1 + + - name: Test + run: go test -v + + - name: vet + run: go vet