diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 43f3268..d03961e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,7 @@ name: Go on: [push] jobs: - test: + lint: name: Lint runs-on: ubuntu-latest steps: @@ -21,3 +21,20 @@ jobs: - name: Lint run: $(go env GOPATH)/bin/golangci-lint run + + test: + name: Test + runs-on: ubuntu-latest + steps: + + - name: Set up Go 1.14 + uses: actions/setup-go@v1 + with: + go-version: 1.14 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Test + run: go test ./...