Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update bootstrap tools to latest versions #1707

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CHRONICLE_CMD = $(TEMP_DIR)/chronicle
GLOW_CMD = $(TEMP_DIR)/glow

# Tool versions #################################
GOLANGCILINT_VERSION := v1.56.0
GOLANGCILINT_VERSION := v1.56.1
GOSIMPORTS_VERSION := v0.3.8
BOUNCER_VERSION := v0.4.0
CHRONICLE_VERSION := v0.8.0
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func create(id clio.Identification) (clio.Application, *cobra.Command) {
return nil
},
).
WithPostRuns(func(state *clio.State, err error) {
WithPostRuns(func(_ *clio.State, _ error) {
stereoscope.Cleanup()
})

Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func DBCheck(app clio.Application) *cobra.Command {
Use: "check",
Short: "check to see if there is a database update available",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runDBCheck(opts.DB)
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func DBDelete(app clio.Application) *cobra.Command {
Use: "delete",
Short: "delete the vulnerability database",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runDBDelete(opts.DB)
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func DBDiff(app clio.Application) *cobra.Command {
Use: "diff [flags] base_db_url target_db_url",
Short: "diff two DBs and display the result",
Args: cobra.MaximumNArgs(2),
RunE: func(cmd *cobra.Command, args []string) (err error) {
RunE: func(_ *cobra.Command, args []string) (err error) {
var base, target string

switch len(args) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func DBImport(app clio.Application) *cobra.Command {
Short: "import a vulnerability database archive",
Long: fmt.Sprintf("import a vulnerability database archive from a local FILE.\nDB archives can be obtained from %q.", internal.DBUpdateURL),
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
return runDBImport(opts.DB, args[0])
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func DBList(app clio.Application) *cobra.Command {
Use: "list",
Short: "list all DBs available according to the listing URL",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runDBList(opts)
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func DBStatus(app clio.Application) *cobra.Command {
Use: "status",
Short: "display database status",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runDBStatus(opts.DB)
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/db_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func DBUpdate(app clio.Application) *cobra.Command {
Use: "update",
Short: "download the latest vulnerability database",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runDBUpdate(opts.DB)
},
}, opts)
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/explain.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Explain(app clio.Application) *cobra.Command {
return app.SetupCommand(&cobra.Command{
Use: "explain --id [VULNERABILITY ID]",
Short: "Ask grype to explain a set of findings",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
log.Warn("grype explain is a prototype feature and is subject to change")
isStdinPipeOrRedirect, err := internal.IsStdinPipeOrRedirect()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ You can also pipe in Syft JSON directly:
Args: validateRootArgs,
SilenceUsage: true,
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
userInput := ""
if len(args) > 0 {
userInput = args[0]
Expand Down
Loading