File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Main
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+ branches :
8
+ - main
9
+ jobs :
10
+ Main :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ - name : Set up Go
16
+ uses : actions/setup-go@v3
17
+ with :
18
+ go-version : 1.19
19
+ - name : Test
20
+ run : make test
21
+ - name : golangci-lint
22
+ uses : golangci/golangci-lint-action@v3
23
+ with :
24
+ version : latest
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags :
5
+ - v*
6
+ jobs :
7
+ Release :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v3
12
+ - name : Set up Go
13
+ uses : actions/setup-go@v3
14
+ with :
15
+ go-version : 1.19
16
+ - name : Test
17
+ run : make test
18
+ - name : golangci-lint
19
+ uses : golangci/golangci-lint-action@v3
20
+ with :
21
+ version : latest
22
+ - uses : " marvinpinto/action-automatic-releases@latest"
23
+ with :
24
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
25
+ prerelease : false
26
+ files : ./bin/*
27
+
You can’t perform that action at this time.
0 commit comments