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