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.
2 parents a54e7dc + 17136d2 commit d48dc5cCopy full SHA for d48dc5c
.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
.pre-commit-config.yaml
0 commit comments