mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-19 03:26:20 +00:00
fix lint config
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user