Commit 1ac14ec 1 parent 389cd83 commit 1ac14ec Copy full SHA for 1ac14ec
File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : go
2
+ on :
3
+ pull_request :
4
+ branches : ['*']
5
+ push :
6
+ branches : ['*']
7
+ tags : ['v*']
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ golangci-lint :
14
+ name : golangci-lint
15
+ strategy :
16
+ matrix :
17
+ go-version : [stable, oldstable]
18
+
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - uses : actions/setup-go@v5
23
+ with :
24
+ go-version : ${{ matrix.go-version }}
25
+ - uses : golangci/golangci-lint-action@v4
26
+ with :
27
+ version : v1.56
28
+
29
+ go-test :
30
+ name : go test
31
+ strategy :
32
+ matrix :
33
+ go-version : [stable, oldstable]
34
+ os : [macos-latest, ubuntu-latest, windows-latest]
35
+
36
+ runs-on : ${{ matrix.os }}
37
+ steps :
38
+ - uses : actions/checkout@v4
39
+ - uses : actions/setup-go@v5
40
+ with :
41
+ go-version : ${{ matrix.go-version }}
42
+ - run : go test -v ./...
You can’t perform that action at this time.
0 commit comments