File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1313 - name : setup go
1414 uses : actions/setup-go@v3
1515 with :
16- go-version : 1.x
16+ go-version-file : go.mod
1717 - name : release
1818 run : |
1919 make crossbuild upload
Original file line number Diff line number Diff line change 77 test :
88 runs-on : macos-latest
99 steps :
10+ - name : checkout
11+ uses : actions/checkout@v3
1012 - name : setup go
1113 uses : actions/setup-go@v3
1214 with :
13- go-version : 1.x
14- - name : checkout
15- uses : actions/checkout@v3
15+ go-version-file : go.mod
1616 - name : install
1717 run : |
1818 make install
Original file line number Diff line number Diff line change 77 tagpr :
88 runs-on : ubuntu-latest
99 steps :
10+ - name : checkout
11+ uses : actions/checkout@v3
1012 - name : setup go
1113 uses : actions/setup-go@v3
1214 with :
13- go-version : 1.x
14- - name : checkout
15- uses : actions/checkout@v3
15+ go-version-file : go.mod
1616 - name : tagpr
1717 id : tagpr
1818 uses : Songmu/tagpr@v1
Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ jobs:
1414 - macOS-latest
1515 - windows-latest
1616 steps :
17- - name : setup go
18- uses : actions/setup-go@v3
19- with :
20- go-version : 1.x
2117 - name : Set git to use LF
2218 run : |
2319 git config --global core.autocrlf false
2420 git config --global core.eol lf
2521 if : " matrix.os == 'windows-latest'"
2622 - name : checkout
2723 uses : actions/checkout@v3
24+ - name : setup go
25+ uses : actions/setup-go@v3
26+ with :
27+ go-version-file : go.mod
2828 - name : test
2929 run : go test -coverprofile coverage.out -covermode atomic ./...
3030 - name : Send coverage
You can’t perform that action at this time.
0 commit comments