fix lint config

Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
Ramon Petgrave
2024-10-07 13:18:10 -04:00
parent 8fff4c861d
commit 7223cf42dc
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -16,13 +16,13 @@ jobs:
go-version-file: "go.mod"
# not needed but gets rid of warnings
cache: false
- uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
name: golangci-lint
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.59.1
version: v1.61.0
yamllint:
runs-on: ubuntu-latest
+2 -2
View File
@@ -3,7 +3,7 @@ run:
concurrency: 2
deadline: 5m
# For generics.
go: 1.18
# go: 1.23.1
issues:
include:
- EXC0012
@@ -32,7 +32,7 @@ linters:
# - errcheck
- errorlint
- exhaustive
- exportloopref
- copyloopvar
# TODO(https://github.com/slsa-framework/slsa-verifier/issues/363): Restore linter
# - gci
- gochecknoinits
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/slsa-framework/slsa-verifier/v2
go 1.22.0
go 1.23.1
require (
github.com/docker/go v1.5.1-1