File tree 5 files changed +90
-0
lines changed 5 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ indent_size = 4
7
+ indent_style = space
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [* .go ]
12
+ indent_style = tab
Original file line number Diff line number Diff line change
1
+ [{* .yml,* .yaml} ]
2
+ indent_size = 2
Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ updates :
4
+ - package-ecosystem : gomod
5
+ directory : /
6
+ schedule :
7
+ interval : daily
8
+
9
+ - package-ecosystem : github-actions
10
+ directory : /
11
+ schedule :
12
+ interval : daily
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+
8
+ jobs :
9
+ test :
10
+ name : Test
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ go : ["1.21", "1.22", "1.23"]
17
+
18
+ steps :
19
+ - name : Checkout repository
20
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+
22
+ - name : Set up Go
23
+ uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
24
+ with :
25
+ go-version : ${{ matrix.go }}
26
+
27
+ - name : Test
28
+ # Cannot enable shuffle for now because some tests rely on global state and order
29
+ # run: go test -race -v -shuffle=on ./...
30
+ run : go test -race -v ./...
31
+
32
+ lint :
33
+ name : Lint
34
+ runs-on : ubuntu-latest
35
+
36
+ steps :
37
+ - name : Checkout repository
38
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39
+
40
+ - name : Set up Go
41
+ uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
42
+ with :
43
+ go-version : " 1.23"
44
+
45
+ - name : Lint
46
+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
47
+ with :
48
+ version : v1.63.4
49
+
50
+ dependency-review :
51
+ name : Dependency review
52
+ runs-on : ubuntu-latest
53
+ if : github.event_name == 'pull_request'
54
+
55
+ steps :
56
+ - name : Checkout repository
57
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58
+
59
+ - name : Dependency Review
60
+ uses : actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
Original file line number Diff line number Diff line change
1
+ linters :
2
+ disable-all : true
3
+ enable :
4
+ - nolintlint
You can’t perform that action at this time.
0 commit comments