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 dc40f16 commit 9a4f037Copy full SHA for 9a4f037
.github/workflows/lint.yml
@@ -0,0 +1,33 @@
1
+name: Gotext code check
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ name: Lint
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Set up Go Stable version
15
+ uses: actions/setup-go@v5
16
+ with:
17
+ go-version: stable
18
+ id: go
19
20
+ - name: Check out code into the Go module directory
21
+ uses: actions/checkout@v4
22
23
+ - name: Run vet
24
+ run: go vet ./...
25
26
+ - name: Run golint
27
+ run: go get -u golang.org/x/lint/golint && go install golang.org/x/lint/golint && golint ./...
28
29
+ - name: Run golangci-lint
30
+ uses: golangci/golangci-lint-action@v7
31
32
+ version: v2.0
33
0 commit comments