fix: linting ci
@@ -32,13 +32,30 @@ jobs:
- name: Vet
run: go vet .
- - name: Lint
- uses: golangci/golangci-lint-action@v2
- with:
- version: v1.29
-
- name: Build
run: go build -v .
- - name: Test
- run: go test -v -timeout 9999s
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Go 1.16
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.16
+ id: go
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v2
+
+ - run: go test -v -timeout 9999s
+
+ golangci:
+ name: lint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: golangci-lint
+ uses: golangci/golangci-lint-action@v2
+ with:
+ version: v1.29
