File tree 10 files changed +30
-39
lines changed
10 files changed +30
-39
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : read
13
+ packages : write
14
+ attestations : write
15
+ id-token : write
11
16
steps :
12
17
- name : Checkout
13
18
uses : actions/checkout@v4
28
33
with :
29
34
registry : ghcr.io
30
35
username : ${{ github.repository_owner }}
31
- password : ${{ secrets.GORELEASER_GITHUB_TOKEN }}
36
+ password : ${{ secrets.GITHUB_TOKEN }}
32
37
- name : Release
33
38
uses : goreleaser/goreleaser-action@v6.1.0
34
39
with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
- name : Install Go
14
14
uses : actions/setup-go@v5
15
15
with :
16
- go-version : stable # https://golang.org/dl/
16
+ go-version : stable
17
17
- name : Docs Check
18
18
run : |
19
19
before=$(cat docs/cli/*.md | md5sum)
29
29
- name : Install Go
30
30
uses : actions/setup-go@v5
31
31
with :
32
- go-version : stable # https://golang.org/dl/
32
+ go-version : stable
33
33
- name : Lint
34
34
uses : golangci/golangci-lint-action@v6
35
35
with :
42
42
- name : Install Go
43
43
uses : actions/setup-go@v5
44
44
with :
45
- go-version : stable # https://golang.org/dl/
45
+ go-version : stable
46
46
- name : Go Mod Tidy
47
47
run : test -z $(go mod tidy)
48
48
govulncheck :
53
53
- name : Install Go
54
54
uses : actions/setup-go@v5
55
55
with :
56
- go-version : stable # https://golang.org/dl/
56
+ go-version : stable
57
57
- name : Install govulncheck
58
58
run : go install golang.org/x/vuln/cmd/govulncheck@latest
59
59
- name : Run govulncheck
66
66
- name : Install Go
67
67
uses : actions/setup-go@v5
68
68
with :
69
- go-version : stable # https://golang.org/dl/
69
+ go-version : stable
70
70
- name : Goreleaser Check
71
71
uses : goreleaser/goreleaser-action@v6.1.0
72
72
with :
79
79
- name : Install Go
80
80
uses : actions/setup-go@v5
81
81
with :
82
- go-version : stable # https://golang.org/dl/
82
+ go-version : stable
83
83
- name : Cache Modules
84
84
uses : actions/cache@v4
85
85
with :
Original file line number Diff line number Diff line change
1
+ run :
2
+ timeout : 5m
3
+
1
4
linters :
2
5
enable :
3
6
- bodyclose
Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ brews:
43
43
directory : Formula
44
44
commit_author :
45
45
name : Sean Lingren
46
- email : sean@lingrino .com
46
+ email : sean@lingren .com
47
47
test : |
48
48
system "#{bin}/vaku version"
49
49
nfpms :
50
50
- id : vaku
51
51
description : CLI that extends the official Vault client.
52
52
homepage : https://vaku.dev/
53
- maintainer : " Sean Lingren <sean@lingrino .com>"
53
+ maintainer : " Sean Lingren <sean@lingren .com>"
54
54
license : MIT
55
55
formats :
56
56
- deb
@@ -65,4 +65,6 @@ dockers:
65
65
build_flag_templates :
66
66
- --label=org.opencontainers.image.created={{.Date}}
67
67
- --label=org.opencontainers.image.revision={{.FullCommit}}
68
+ - --label=org.opencontainers.image.source={{.GitURL}}
69
+ - --label=org.opencontainers.image.title={{.ProjectName}}
68
70
- --label=org.opencontainers.image.version={{.Version}}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/ ) , and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## 2.8.1 - 2024-11-23
8
+
9
+ ### Changed
10
+
11
+ - GEN: Update dependencies
12
+ - GEN: Update release action
13
+
7
14
## 2.8.0 - 2024-10-27
8
15
9
16
### Added
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package vaku
2
2
3
3
// Version gives the current Vaku API version.
4
4
func Version () string {
5
- return "2.8.0 "
5
+ return "2.8.1 "
6
6
}
Original file line number Diff line number Diff line change 8
8
9
9
func TestVersion (t * testing.T ) {
10
10
t .Parallel ()
11
- assert .Equal (t , "2.8.0 " , Version ())
11
+ assert .Equal (t , "2.8.1 " , Version ())
12
12
}
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ func TestVersion(t *testing.T) {
19
19
{
20
20
name : "version test" ,
21
21
giveVersion : "test" ,
22
- wantOut : "API: 2.8.0 \n CLI: test\n " ,
22
+ wantOut : "API: 2.8.1 \n CLI: test\n " ,
23
23
},
24
24
{
25
25
name : "version version" ,
26
26
giveVersion : "version" ,
27
- wantOut : "API: 2.8.0 \n CLI: version\n " ,
27
+ wantOut : "API: 2.8.1 \n CLI: version\n " ,
28
28
},
29
29
{
30
30
name : "args" ,
You can’t perform that action at this time.
0 commit comments