File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11name : Main
2+
23on : push
4+
35permissions :
46 contents : write
7+
58jobs :
69 test_publish :
710 name : Test and publish
@@ -10,17 +13,22 @@ jobs:
1013 - name : Checkout code
1114 uses : actions/checkout@v2
1215 with :
13- fetch-depth : 0
16+ fetch-depth : 0 # Needed to describe git ref during build.
17+
1418 - name : Export GOBIN
1519 uses : actions/setup-go@v2
1620 with :
17- go-version : 1.16
21+ go-version : 1.17
22+
1823 - name : Install dependencies
1924 run : make setup
25+
2026 - name : Run tests
2127 run : make test
28+
2229 - name : Build
2330 run : make build
31+
2432 - name : Run GoReleaser
2533 uses : goreleaser/goreleaser-action@v2
2634 if : startsWith(github.ref, 'refs/tags/v') # Only release for tagged commits.
Original file line number Diff line number Diff line change 11module github.com/pushbits/cli
22
3- go 1.16
3+ go 1.17
44
55require (
66 github.com/jessevdk/go-flags v1.4.0
7- golang.org/x/sys v0.0.0-20210603125802-9665404d3644 // indirect
87 golang.org/x/term v0.0.0-20210503060354-a79de5458b56
98)
9+
10+ require golang.org/x/sys v0.0.0-20210603125802-9665404d3644 // indirect
You can’t perform that action at this time.
0 commit comments