Skip to content

Commit

Permalink
Bump golangci-lint version
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
  • Loading branch information
stv0g committed Jun 11, 2024
1 parent 3353e79 commit 7d825ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.54.0
version: v1.59.0
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
Short: "Rosenpass is a formally verified, post-quantum secure VPN that uses WireGuard to transport the actual data.",
SilenceUsage: true,
SilenceErrors: true,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
PersistentPreRun: func(_ *cobra.Command, _ []string) {
setupLogging(verbose)
},
}
Expand All @@ -38,7 +38,7 @@ var (
Use: "man",
Short: "Show the go-rosenpass manpage",
Args: cobra.ArbitraryArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
page := strings.Join(append([]string{"go-rosenpass"}, args...), genManOpts.CommandSeparator)
c := exec.Command("man", "1", page)
c.Stdout = os.Stdout
Expand Down
2 changes: 1 addition & 1 deletion messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestMessages(t *testing.T) {

func FuzzEnvelope(f *testing.F) {
f.Add([]byte{})
f.Fuzz(func(t *testing.T, b []byte) {
f.Fuzz(func(_ *testing.T, b []byte) {
var e envelope
e.UnmarshalBinary(b) //nolint:errcheck
})
Expand Down

0 comments on commit 7d825ee

Please sign in to comment.