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 ef3ca42 commit f6f2eb3Copy full SHA for f6f2eb3
.github/workflows/go.yml
@@ -0,0 +1,30 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request: { }
7
8
+jobs:
9
+ go:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Set up Go
15
+ uses: actions/setup-go@v5
16
+ with:
17
+ go-version: stable
18
+ cache: false
19
20
+ - name: Lint
21
+ uses: golangci/golangci-lint-action@v3
22
23
+ version: latest
24
+ only-new-issues: true
25
26
+ # Enable the gosec linter w/o having to create a .golangci.yml config
27
+ args: -E gosec
28
29
+ - name: Test
30
+ run: go test -v ./...
0 commit comments