From c668d109ce214421fb40e33ffc028689f2d3a52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:26:19 +0800 Subject: [PATCH] update ci --- .github/workflows/pr-check.yml | 4 ++-- .golangci.yaml | 36 ---------------------------------- README.md | 2 +- 3 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 .golangci.yaml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a0b4c148..df6953ef 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -13,5 +13,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # - name: Check Spell - # uses: crate-ci/typos@master + - name: Check Spell + uses: crate-ci/typos@master diff --git a/.golangci.yaml b/.golangci.yaml deleted file mode 100644 index d8844c70..00000000 --- a/.golangci.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# Options for analysis running. -run: - # include `vendor` `third_party` `testdata` `examples` `Godeps` `builtin` - skip-dirs-use-default: true -# output configuration options -output: - # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions - formats: colored-line-number -# All available settings of specific linters. -# Refer to https://golangci-lint.run/usage/linters -linters-settings: - gofumpt: - # Choose whether to use the extra rules. - # Default: false - extra-rules: true - govet: - # Disable analyzers by name. - # Run `go tool vet help` to see all analyzers. - disable: - - stdmethods -linters: - enable: - - gofumpt - - goimports - - gofmt - disable: - - errcheck - - typecheck - - deadcode - - varcheck - - staticcheck -issues: - exclude-use-default: true - exclude-files: - - ".*\\.mock\\.go$" - exclude-dirs: diff --git a/README.md b/README.md index f5b123d9..ad3c070c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ ABCoder currently supports the following languages: # Getting Involved We encourage developers to contribute and make this tool more powerful. If you are interested in contributing to ABCoder -project, kindly check out our Getting Involved Guide: +project, kindly check out our guide: - [Parser Extension](docs/parser-zh.md) > Note: This is a dynamic README and is subject to changes as the project evolves.