File tree Expand file tree Collapse file tree 12 files changed +242
-1134
lines changed
Expand file tree Collapse file tree 12 files changed +242
-1134
lines changed Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- push :
5- branches : [main]
6- pull_request :
7- branches : [main]
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
88
99jobs :
10- test :
11- runs-on : ubuntu-latest
12- steps :
13- - name : Checkout
14- uses : actions/checkout@v4
15-
16- - name : Set up Go
17- uses : actions/setup-go@v5
18- with :
19- go-version : " 1.26"
20-
21- - name : Build
22- run : go build -v ./...
23-
24- - name : Test
25- run : go test -v ./...
26-
27- - name : Format check
28- run : |
29- gofmt -l .
30- [ -z "$(gofmt -l .)" ]
31-
32- lint :
33- runs-on : ubuntu-latest
34- steps :
35- - name : Checkout
36- uses : actions/checkout@v4
37-
38- - name : Set up Go
39- uses : actions/setup-go@v5
40- with :
41- go-version : " 1.26"
42-
43- - name : golangci-lint
44- uses : golangci/golangci-lint-action@v6
45- with :
46- version : latest
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v6
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v6
18+ with :
19+ go-version : " 1.26.0 "
20+
21+ - name : Build
22+ run : go build -v ./...
23+
24+ - name : Test
25+ run : go test -v ./...
26+
27+ - name : Format check
28+ run : |
29+ gofmt -l .
30+ [ -z "$(gofmt -l .)" ]
31+
32+ lint :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v6
37+
38+ - name : Set up Go
39+ uses : actions/setup-go@v6
40+ with :
41+ go-version : " 1.26.0 "
42+
43+ - name : golangci-lint
44+ uses : golangci/golangci-lint-action@v9
45+ with :
46+ version : latest
Original file line number Diff line number Diff line change @@ -14,25 +14,25 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v6
1818 with :
1919 fetch-depth : 0
2020
2121 - name : Set up Go
22- uses : actions/setup-go@v5
22+ uses : actions/setup-go@v6
2323 with :
24- go-version : " 1.26"
24+ go-version : " 1.26.0 "
2525
2626 - name : Run tests
2727 run : go test ./...
2828
2929 - name : Run GoReleaser
30- uses : goreleaser/goreleaser-action@v6
30+ uses : goreleaser/goreleaser-action@v7
3131 with :
3232 distribution : goreleaser-pro
33- version : latest
33+ version : " ~> v2 "
3434 args : release --clean
3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737 GORELEASER_KEY : ${{ secrets.GORELEASER_KEY }}
38- TAP_GITHUB_TOKEN : ${{ secrets.TAP_GITHUB_TOKEN }}
38+ TAP_GITHUB_TOKEN : ${{ secrets.HOMEBREW_TAP_TOKEN }}
Original file line number Diff line number Diff line change 7676 directory : Formula
7777 homepage : ' https://github.com/ofkm/bndry'
7878 description : ' Friendly CLI wrapper for HashiCorp Boundary focused on SSH workflows'
79- license : ' MIT '
79+ license : ' Apache License 2.0 '
8080 test : |
8181 system "#{bin}/bndry --help"
8282 install : |
Original file line number Diff line number Diff line change 1616tidy :
1717 go mod tidy
1818
19+ fix :
20+ go fix ./ ...
21+
1922run :
2023 go run ./ cmd/ bndry
You can’t perform that action at this time.
0 commit comments