Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 494fc05

Browse files
committed
better way to force run integration tests on linter error
1 parent 9093754 commit 494fc05

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/integration-tests.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,18 @@ jobs:
159159
cd ${{ matrix.project.path }}
160160
go build ./...
161161
go test -run=^# ./...
162-
# - name: Lint Go
163-
# uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
164-
# with:
165-
# version: v1.59.1
166-
# # We already cache these directories in setup-go
167-
# skip-pkg-cache: true
168-
# skip-build-cache: true
169-
# # only-new-issues is only applicable to PRs, otherwise it is always set to false
170-
# only-new-issues: false # disabled for PRs due to unreliability
171-
# args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml
172-
# working-directory: ${{ matrix.project.path }}
162+
- name: Lint Go
163+
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
164+
continue-on-error: true
165+
with:
166+
version: v1.59.1
167+
# We already cache these directories in setup-go
168+
skip-pkg-cache: true
169+
skip-build-cache: true
170+
# only-new-issues is only applicable to PRs, otherwise it is always set to false
171+
only-new-issues: false # disabled for PRs due to unreliability
172+
args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml
173+
working-directory: ${{ matrix.project.path }}
173174

174175
build-chainlink:
175176
environment: integration

0 commit comments

Comments
 (0)