Skip to content

Commit

Permalink
Bump yamllint and golangci-lint versions
Browse files Browse the repository at this point in the history
Newer yamllint supports ignoring directories, especially nice for the
`.go/` directory that can be present locally.

Version 1.55 of golangci-lint has better support for Go 1.21.

Signed-off-by: Justin Kulikauskas <[email protected]>
  • Loading branch information
JustinKuli committed Jan 31, 2024
1 parent b4173d4 commit e358543
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Lint YAML files
run: yamllint .
# Automatically uses ./.yamllint.yaml for configuration

golangci:
name: golangci-lint
Expand All @@ -35,5 +36,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52
version: v1.55
# Automatically uses ./.golangci.yml for configuration
2 changes: 2 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ rules:
quoted-strings: disable
trailing-spaces: disable
truthy: disable
ignore:
- .go/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $(KUSTOMIZE): $(LOCAL_BIN)

GOLANGCI ?= $(LOCAL_BIN)/golangci-lint
$(GOLANGCI): $(LOCAL_BIN)
$(call go-install,github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2)
$(call go-install,github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2)

GINKGO ?= $(LOCAL_BIN)/ginkgo
$(GINKGO): $(LOCAL_BIN)
Expand Down

0 comments on commit e358543

Please sign in to comment.