We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54e7dc commit 42facb9Copy full SHA for 42facb9
.github/workflows/go.yaml
@@ -3,6 +3,13 @@ name: Go
3
on:
4
push:
5
jobs:
6
+ vet:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - uses: actions/setup-go@v5
11
+ - name: Run go vet
12
+ run: go vet ./...
13
test:
14
runs-on: ubuntu-latest
15
steps:
@@ -12,3 +19,12 @@ jobs:
19
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
20
- name: Run test
21
run: go test ./...
22
+ golangci-lint:
23
24
25
26
27
+ - name: Install golangci-lint
28
+ run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
29
+ - name: Run golangci-lint
30
+ run: golangci-lint run
0 commit comments