Skip to content

Commit 6fe2155

Browse files
committed
chore(CI/CD): remove macos-latest testing
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent cdd073f commit 6fe2155

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
test:
2727
strategy:
2828
matrix:
29-
os: [ubuntu-latest, macos-latest]
30-
go: [1.13, 1.14, 1.15, 1.16, 1.17, 1.18]
29+
os: [ubuntu-latest]
30+
go: [1.14, 1.15, 1.16, 1.17, 1.18]
3131
include:
3232
- os: ubuntu-latest
3333
go-build: ~/.cache/go-build

.golangci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
linters:
2+
enable-all: false
3+
disable-all: true
4+
fast: false
5+
enable:
6+
- bodyclose
7+
- deadcode
8+
- depguard
9+
- dogsled
10+
- dupl
11+
- errcheck
12+
- exportloopref
13+
- exhaustive
14+
- gochecknoinits
15+
- goconst
16+
- gocritic
17+
- gocyclo
18+
- gofmt
19+
- goimports
20+
- goprintffuncname
21+
- gosec
22+
- gosimple
23+
- govet
24+
- ineffassign
25+
- lll
26+
- misspell
27+
- nakedret
28+
- noctx
29+
- nolintlint
30+
- rowserrcheck
31+
- staticcheck
32+
- structcheck
33+
- stylecheck
34+
- typecheck
35+
- unconvert
36+
- unparam
37+
- unused
38+
- varcheck
39+
- whitespace
40+
- gofumpt
41+
42+
run:
43+
timeout: 3m

0 commit comments

Comments
 (0)