Skip to content

Commit 3ca939c

Browse files
committed
Use updated version of ci-lint-go action with stdout support
1 parent ba135e2 commit 3ca939c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/golangci_lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ jobs:
4747
- name: golangci-lint ${{ matrix.module }}
4848
if: ${{ always() && !contains(join(github.event.pull_request.labels.*.name, ' '), 'allow-lint-issues') }}
4949
# NOTE: Keep this version in sync with ACTION_CI_LINT_GO_GIT_TAG in ./script/lint.sh
50-
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/3.0.0
50+
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v3
5151
with:
5252
checkout-repo: false
5353
golangci-lint-version: v${{ steps.get-version.outputs.version }}
5454
go-directory: ${{ matrix.module }}
55-
golangci-lint-args: --output.text.path=stdout --output.checkstyle.path=${{ matrix.module }}/golangci-lint-report.xml
5655

5756
golangci-lint:
5857
# Required sink job that waits for all lint jobs to complete

script/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if [[ -n "${GOLANGCI_LINT_CONFIG:-}" ]]; then
2727
echo "Using user-provided config: $CONFIG_FILE"
2828
else
2929
# NOTE: Keep this version in sync with the action tag in /.github/workflows/golangci_lint.yml
30-
ACTION_CI_LINT_GO_GIT_TAG="${CI_LINT_GO_VERSION:-ci-lint-go/3.0.0}"
30+
ACTION_CI_LINT_GO_GIT_TAG="${CI_LINT_GO_VERSION:-ci-lint-go/v3}"
3131
# Download remote golangci-lint config to gitignored directory
3232
REMOTE_CONFIG_URL="https://raw.githubusercontent.com/smartcontractkit/.github/refs/tags/${ACTION_CI_LINT_GO_GIT_TAG}/actions/ci-lint-go/files/golangci-default.yml"
3333
CONFIG_FILE="$DIRECTORY/golangci.remote.yml"

0 commit comments

Comments
 (0)