Skip to content

Commit 45cce06

Browse files
committed
ci: turn on linters
Part of #TNTP-3105
1 parent 59e26ec commit 45cce06

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/actions/static-code-check/action.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ runs:
2525
echo "Found base branch with hash: '${HASH}'"
2626
echo "BASE_BRANCH=${HASH}" >> ${GITHUB_ENV}
2727
28-
# - name: pre-commit checks (diff)
29-
# uses: pre-commit/[email protected]
30-
# env:
31-
# SKIP: golangci-lint-full
32-
# with:
33-
# extra_args: --all-files --from-ref=${{ env.BASE_BRANCH }} --to-ref=HEAD --hook-stage=manual
28+
- name: pre-commit checks (diff)
29+
uses: pre-commit/[email protected]
30+
env:
31+
SKIP: golangci-lint-full
32+
with:
33+
extra_args: --all-files --from-ref=${{ env.BASE_BRANCH }} --to-ref=HEAD --hook-stage=manual
3434

35-
# - name: pre-commit checks (full)
36-
# uses: pre-commit/[email protected]
37-
# env:
38-
# SKIP: golangci-lint-diff
39-
# with:
40-
# extra_args: --all-files --hook-stage=manual
35+
- name: pre-commit checks (full)
36+
uses: pre-commit/[email protected]
37+
env:
38+
SKIP: golangci-lint-diff
39+
with:
40+
extra_args: --all-files --hook-stage=manual

0 commit comments

Comments
 (0)