File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ * .go text eol =lf
Original file line number Diff line number Diff line change 1+ name : Quality Assurance
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+
10+ jobs :
11+ test :
12+ name : Test
13+
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ go : [stable]
19+ os : [ubuntu-latest, macos-latest, windows-latest]
20+
21+ steps :
22+ - uses : actions/checkout@v4
23+
24+ - name : Set up Go
25+ uses : actions/setup-go@v5
26+ with :
27+ go-version : ${{ matrix.go }}
28+
29+ - name : Test
30+ run : go test -v ./...
31+
32+ lint :
33+ name : Lint
34+
35+ runs-on : ${{ matrix.os }}
36+ strategy :
37+ fail-fast : false
38+ matrix :
39+ go : [stable]
40+ os : [ubuntu-latest, macos-latest, windows-latest]
41+
42+ steps :
43+ - uses : actions/checkout@v4
44+
45+ - name : Set up Go
46+ uses : actions/setup-go@v5
47+ with :
48+ go-version : ${{ matrix.go }}
49+
50+ - name : lint
51+ uses : golangci/golangci-lint-action@v8
52+ with :
53+ version : v2.1
54+ args : --tests=false
You can’t perform that action at this time.
0 commit comments