Skip to content

Commit

Permalink
chore: don't have golangci-lint update go.mod in CI (italia#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Feb 20, 2024
1 parent ec14eb0 commit 3688938
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
run:
# If set, we pass it to "go list -mod={option}". From "go help modules":
# If invoked with -mod=readonly, the go command is disallowed from the implicit
# automatic updating of go.mod described above. Instead, it fails when any changes
# to go.mod are needed. This setting is most useful to check that go.mod does
# not need updates, such as in a continuous integration and testing system.
# If invoked with -mod=vendor, the go command assumes that the vendor
# directory holds the correct copies of dependencies and ignores
# the dependency descriptions in go.mod.
#
# Allowed values: readonly|vendor|mod
# Default: ""
modules-download-mode: readonly

# Include test files or not.
# Default: true
tests: false
Expand Down

0 comments on commit 3688938

Please sign in to comment.