about summary refs log tree commit diff stats
path: root/.github/workflows/go.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/go.yml')
-rw-r--r--.github/workflows/go.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 4c541ea..1f74973 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -11,20 +11,19 @@ jobs:
     name: Build
     runs-on: ubuntu-latest
     steps:
-    - name: Set up Go 1.x
-      uses: actions/setup-go@v2
-      with:
-        go-version: ^1.15
-      id: go
-
     - name: Check out
       uses: actions/checkout@v2
 
+    - name: Setup Go
+      uses: actions/setup-go@v2
+      with:
+        go-version: ^1.16
+
     - name: Get dependencies
       run: go get -v -t -d ./...
 
     - name: Build
-      run: go build -v .
+      run: go build -v ./...
 
     - name: Test
       run: go test -v -coverprofile=coverage.txt ./...
@@ -42,4 +41,4 @@ jobs:
       - name: Lint
         uses: golangci/golangci-lint-action@v2
         with:
-          version: v1.30
+          version: latest