File tree 3 files changed +67
-0
lines changed
3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : gomod
4
+ directory : " /"
5
+ schedule :
6
+ interval : weekly
7
+ time : ' 10:00'
8
+ open-pull-requests-limit : 10
9
+
10
+ - package-ecosystem : " github-actions"
11
+ directory : " /"
12
+ schedule :
13
+ interval : monthly
Original file line number Diff line number Diff line change
1
+ name : Go
2
+ on :
3
+ push :
4
+ tags :
5
+ - v*
6
+ branches : [ master ]
7
+ pull_request :
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Set up Go
15
+ uses : actions/setup-go@v4
16
+
17
+ - name : Check out code into the Go module directory
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Vet
21
+ run : go vet ./...
22
+
23
+ - name : Test
24
+ run : go test -v ./...
25
+
26
+ - name : Run goreleaser in release mode
27
+ if : success() && startsWith(github.ref, 'refs/tags/v')
28
+ uses : goreleaser/goreleaser-action@v5
29
+ with :
30
+ version : latest
31
+ args : release --rm-dist
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : golangci-lint
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+
8
+ jobs :
9
+ golangci :
10
+ name : lint
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Set up Go
14
+ uses : actions/setup-go@v4
15
+
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : golangci-lint
19
+ uses : golangci/golangci-lint-action@v3
20
+ with :
21
+ version : v1.54
You can’t perform that action at this time.
0 commit comments