We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3418e1f commit 82ffe6eCopy full SHA for 82ffe6e
1 file changed
.github/workflows/go.yml
@@ -0,0 +1,37 @@
1
+name: go
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ GOPRIVATE: github.com/NextronSystems/
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-go@v5
19
+ with:
20
+ go-version: stable
21
+ - name: Build
22
+ run: go build -v ./...
23
+ - name: Test
24
+ run: go test -v ./...
25
+ lint:
26
27
28
29
30
31
32
33
34
+ - name: Lint
35
+ uses: golangci/golangci-lint-action@v6
36
37
+ version: v1.60
0 commit comments