Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Upgraded Go version? Make sure to upgrade it in the GitHub Actions setup, the Dockerfile and the go.mod as well, so the linter and tests run the same version.
- uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22.1

- name: go vet
run: go vet ./...
Expand All @@ -40,20 +40,20 @@ jobs:
# Upgraded Go version? Make sure to upgrade it in the GitHub Actions setup, the Dockerfile and the go.mod as well, so the linter and tests run the same version.
- uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22.1

- name: go build errorsNew linter
run: CGO_ENABLED=1 go build -buildmode=plugin -o ../errorsnew.so ./plugin/errorsnew.go
working-directory: linters

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
install-mode: goinstall
# plugin versions (errorsnew in our case) has to use same versions of packages and go as specified in the main project's go.mod
# otherwise, it will fail loading the plugin
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.55.2
version: v2.1

# Optional: working directory, useful for monorepos
working-directory: src
Expand Down
2 changes: 1 addition & 1 deletion helm-charts
39 changes: 22 additions & 17 deletions src/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading