From 4525bc626f79d604d972d007fa2a82949307a126 Mon Sep 17 00:00:00 2001 From: lipandeng Date: Fri, 6 Dec 2024 19:38:44 +0800 Subject: [PATCH] chore: adjust ci workflow config --- .github/workflows/tests.yml | 2 +- .golangci.yaml | 6 ++++-- .licenserc.yaml | 14 +++++++++++++- .spelling | 8 ++++++++ 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .spelling diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1bb4532..9f3ad81 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ name: Tests -on: [ pull_request ] +on: [ push, pull_request ] jobs: unit_test: diff --git a/.golangci.yaml b/.golangci.yaml index 0c75300..ba31e7d 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -26,10 +26,12 @@ linters: disable: - errcheck - typecheck - - varcheck - staticcheck + - unused + - gosimple + - ineffassign issues: exclude-use-default: true exclude-files: - ".*\\.mock\\.go$" - exclude-dirs: + exclude-dirs: \ No newline at end of file diff --git a/.licenserc.yaml b/.licenserc.yaml index 6046e12..0fa0d24 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -7,4 +7,16 @@ header: - '**/*.go' - '**/*.s' - comment: on-failure \ No newline at end of file + comment: on-failure + +checking: + spelling: + ignore-words: + - Invokable + - invokable + - InvokableLambda + - InvokableRun + - outter + - Opion + - TOpion + - renderring \ No newline at end of file diff --git a/.spelling b/.spelling new file mode 100644 index 0000000..c542a89 --- /dev/null +++ b/.spelling @@ -0,0 +1,8 @@ +Invokable +invokable +InvokableLambda +InvokableRun +outter +Opion +TOpion +renderring