Skip to content

Commit

Permalink
fixup! fix: Clean up golangci-lint config
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Oliveira <[email protected]>
  • Loading branch information
mateusoliveira43 committed Mar 28, 2024
1 parent e86f210 commit 5059d16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-linter-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.1
skip-pkg-cache: true
7 changes: 7 additions & 0 deletions site/content/docs/main/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ You can run `make lint-fix` to fix fixable issues found by `make lint`.

The linters, and their settings, are defined in the `.golangci.yaml` file.

Linting is enforced by the project CI through `.github/workflows/pr-linter-check.yml` job.

To update `golangci-lint` used by the project, update:
- `with.version` of golangci/golangci-lint-action in `.github/workflows/pr-linter-check.yml:21`
- `golangci-lint` version installed in build-image in `hack/build-image/Dockerfile:96`
- documentation reference comment in `.golangci.yaml:1`

## Test

To run unit tests, use `make test`.
Expand Down

0 comments on commit 5059d16

Please sign in to comment.