about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go.yml15
-rw-r--r--Makefile2
2 files changed, 8 insertions, 9 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
diff --git a/Makefile b/Makefile
index c453239..925c1e3 100644
--- a/Makefile
+++ b/Makefile
@@ -10,5 +10,5 @@ lint:
 	golangci-lint run
 
 test:
-	go test -coverprofile=cover.out -mod=readonly ./...
+	go test -coverprofile=cover.out ./...