File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed
Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ${{ matrix.os }}
1313 strategy :
1414 matrix :
15- os : [ubuntu-latest] # macos-latest, windows-latest
15+ os : [ubuntu-latest, macos-latest, windows-latest]
1616 steps :
1717 - name : Set up Go 1.x
1818 uses : actions/setup-go@v2
2121 id : go
2222
2323 - name : Check out code into the Go module directory
24- uses : actions/checkout@v2
24+ uses : actions/checkout@v3
2525
2626 - name : Install make (Windows)
2727 if : runner.os == 'Windows'
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ permissions :
9+ contents : write
10+ packages : write
11+
12+ jobs :
13+ goreleaser :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ steps :
19+ - uses : actions/checkout@v3
20+
21+ - uses : actions/setup-go@v3
22+ with :
23+ go-version : ' >=1.19.2'
24+ cache : true
25+
26+ - uses : goreleaser/goreleaser-action@v2
27+ with :
28+ distribution : goreleaser
29+ version : latest
30+ args : release --rm-dist
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1515# vendor/
1616
1717/bin /
18+ /dist /
1819coverage.txt
1920lint-project.sh
You can’t perform that action at this time.
0 commit comments