File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: Build
22on :
33 push :
44 branches :
5- - " master "
5+ - main
66 pull_request :
77 branches :
8- - " * "
8+ - ' * '
99jobs :
1010 build :
1111 strategy :
@@ -14,10 +14,10 @@ jobs:
1414 runs-on : ${{ matrix.os }}
1515 name : Build & Test
1616 steps :
17- - uses : actions/checkout@v2
18- - uses : actions/setup-go@v2
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-go@v5
1919 with :
20- go-version : " ^1.16 .0"
20+ go-version : " ^1.22 .0"
2121 - run : go mod tidy
2222 - name : Build & Test
2323 run : |
Original file line number Diff line number Diff line change @@ -2,16 +2,18 @@ name: Release
22on :
33 push :
44 tags :
5- - v*.*.*
5+ - ' v*.*.*'
66jobs :
77 build :
88 runs-on : ubuntu-latest
99 name : goreleaser
1010 steps :
11- - uses : actions/checkout@v2
12- - uses : actions/setup-go@v2
11+ - uses : actions/checkout@v4
1312 with :
14- go-version : " ^1.16.0"
13+ fetch-depth : 0
14+ - uses : actions/setup-go@v5
15+ with :
16+ go-version : " ^1.22.0"
1517 - name : Release via goreleaser
1618 uses : goreleaser/goreleaser-action@v6
1719 with :
Original file line number Diff line number Diff line change 11.DS_Store
22easy-params
3+ .idea /
34
45dist /
56
You can’t perform that action at this time.
0 commit comments