bump golangci-lint to 1.55.2 (#18604)

This commit is contained in:
Tim Lee
2024-04-30 08:59:14 -06:00
committed by GitHub
parent af39d557d3
commit 0a27843b83
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
# Don't forget to update
# docs/Contributing/Testing-and-local-development.md when this
# version changes
go install github.com/golangci/golangci-lint/cmd/golangci-lint@411e0bbbd3096aa0ee2b924160629bdf2bc81d40 # v1.54.2
go install github.com/golangci/golangci-lint/cmd/golangci-lint@e3c2265f4939976874989e159386b3bb7dcf8e1f # v1.55.2
make lint-go
- name: Run cloner-check tool
+1 -1
View File
@@ -8,7 +8,7 @@ repos:
hooks:
- id: gitleaks
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.55.2
hooks:
- id: golangci-lint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
@@ -69,7 +69,7 @@ Check out [`/tools/osquery` directory instructions](https://github.com/fleetdm/f
You must install the [`golangci-lint`](https://golangci-lint.run/) command to run `make test[-go]` or `make lint[-go]`, using:
```sh
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
```
Make sure it is available in your `PATH`. To execute the basic unit and integration tests, run the following from the root of the repository: