File tree Expand file tree Collapse file tree 5 files changed +19
-8
lines changed
Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 11name : release
2+ permissions :
3+ contents : read
24env :
35 commit_msg : " "
46on :
1012 publish :
1113 name : publish package
1214 runs-on : ubuntu-latest
15+ permissions :
16+ contents : write # required to write a new release
1317 timeout-minutes : 10
1418 if : startsWith(github.ref, 'refs/tags/')
1519 steps :
4145
4246 # Go
4347 - name : Set up Go
44- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 .0.0
48+ uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 .0.0
4549 with :
50+ cache : false
4651 go-version : 1.24.x
4752
4853 # Use goreleaser to create the new release
Original file line number Diff line number Diff line change 1212 - repo : local
1313 hooks :
1414 - id : lint-and-test
15- name : Lint and test
15+ name : Lint and Test
1616 entry : ./.pre-commit.sh
1717 language : system
1818 always_run : true
Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ release:
8989 goreleaser check
9090 goreleaser release --skip-validate --skip-publish --rm-dist
9191
92+ # # scan-ci: Look for vulnerabilities in CI Workflows
93+ # https://docs.zizmor.sh/usage/
94+ scan-ci :
95+ actionlint
96+ zizmor --gh-token ` gh auth token` .github/workflows
97+
9298# # scan-deps: Look for known vulnerabilities in the project dependencies
9399# https://github.com/sonatype-nexus-community/nancy
94100scan-deps :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
1010 github.com/spf13/cobra v1.10.1
1111 github.com/spf13/viper v1.21.0
1212 go.bryk.io/pkg v0.0.0-20251024152056-5622b3c0b1cd
13- golang.org/x/term v0.36 .0
13+ golang.org/x/term v0.37 .0
1414)
1515
1616require (
@@ -50,7 +50,7 @@ require (
5050 go.yaml.in/yaml/v3 v3.0.4 // indirect
5151 golang.org/x/crypto v0.43.0 // indirect
5252 golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
53- golang.org/x/sys v0.37 .0 // indirect
53+ golang.org/x/sys v0.38 .0 // indirect
5454 golang.org/x/text v0.30.0 // indirect
5555 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
5656)
Original file line number Diff line number Diff line change @@ -118,10 +118,10 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
118118golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
119119golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
120120golang.org/x/sys v0.12.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
121- golang.org/x/sys v0.37 .0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ =
122- golang.org/x/sys v0.37 .0 /go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks =
123- golang.org/x/term v0.36 .0 h1:zMPR+aF8gfksFprF/Nc/rd1wRS1EI6nDBGyWAvDzx2Q =
124- golang.org/x/term v0.36 .0 /go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss =
121+ golang.org/x/sys v0.38 .0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc =
122+ golang.org/x/sys v0.38 .0 /go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks =
123+ golang.org/x/term v0.37 .0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU =
124+ golang.org/x/term v0.37 .0 /go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254 =
125125golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k =
126126golang.org/x/text v0.30.0 /go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM =
127127gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
You can’t perform that action at this time.
0 commit comments