ci: refactor GitHub actions and update GolangCI configuration

- Remove the formatting step from the GitHub action workflow
- Disable the `fiximports` setting in the GolangCI configuration

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2025-03-18 22:40:15 +08:00
parent 733ee094fc
commit 94e13d1619
No known key found for this signature in database
2 changed files with 0 additions and 5 deletions

View File

@ -75,7 +75,3 @@ jobs:
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }},go-${{ matrix.go }},${{ matrix.test-tags }}
- name: Format
if: matrix.go-version == '1.22.x'
run: diff -u <(echo -n) <(gofmt -d .)

View File

@ -39,7 +39,6 @@ linters-settings:
perfsprint:
err-error: true
errorf: true
fiximports: true
int-conversion: true
sprintf1: true
strconcat: true