mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
chore(lint): print error locations (#8246)
# Which Problems Are Solved If golangci-lint fails, it is hard to find out how to fix it. # How the Problems Are Solved The official GitHub action for golangci-lint is upgraded from v4 to [v6](https://github.com/golangci/golangci-lint-action/releases/tag/v6.0.1). ## Before Upgrade ![image](https://github.com/zitadel/zitadel/assets/12727842/d25bcb0d-5e86-4f8d-92e9-f24e53319062) ## After Upgrade ![image](https://github.com/zitadel/zitadel/assets/12727842/91c6c9ff-832b-49f5-ba92-ff835d8179c0) # Additional Changes Removes the config properties `skip-pkg-cache` and `skip-build-cache` as support was removed with [v5](https://github.com/golangci/golangci-lint-action/releases/tag/v5.0.0). --------- Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
parent
6c1df83071
commit
d95c9508a3
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -95,10 +95,8 @@ jobs:
|
||||
key: ${{ inputs.core_cache_key }}
|
||||
fail-on-cache-miss: true
|
||||
-
|
||||
uses: golangci/golangci-lint-action@v4
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: ${{ inputs.go_lint_version }}
|
||||
github-token: ${{ github.token }}
|
||||
only-new-issues: true
|
||||
skip-pkg-cache: true
|
||||
skip-build-cache: true
|
||||
|
Loading…
Reference in New Issue
Block a user