diff --git a/.github/workflows/lint-go-reusable.yml b/.github/workflows/lint-go-reusable.yml index 96fbf83..4ef8902 100644 --- a/.github/workflows/lint-go-reusable.yml +++ b/.github/workflows/lint-go-reusable.yml @@ -33,7 +33,7 @@ jobs: run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a remote file only. E.g. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.55 args: --timeout=5m --config=./.golangci.yaml --issues-exit-code 1 # Failed if any issues are found diff --git a/.github/workflows/lint-reusable.yml b/.github/workflows/lint-reusable.yml index 47d2e67..db51869 100644 --- a/.github/workflows/lint-reusable.yml +++ b/.github/workflows/lint-reusable.yml @@ -19,7 +19,7 @@ jobs: go-version-file: "go.mod" # This uses the Go version defined in the mod file, in contrast to setting a defined version. - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.55 args: --timeout=5m \ No newline at end of file diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 2e3a78f..1953f97 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -22,7 +22,7 @@ jobs: go-version: '1.19' - uses: actions/checkout@v4 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: # 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.51