From 9c6e0e0e0754e0b3587daed8cc04bd6a800f6de5 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Tue, 3 Mar 2020 21:59:20 +1100 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 ./...