mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 12:12:12 +08:00
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:
parent
733ee094fc
commit
94e13d1619
4
.github/workflows/gin.yml
vendored
4
.github/workflows/gin.yml
vendored
@ -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 .)
|
||||
|
@ -39,7 +39,6 @@ linters-settings:
|
||||
perfsprint:
|
||||
err-error: true
|
||||
errorf: true
|
||||
fiximports: true
|
||||
int-conversion: true
|
||||
sprintf1: true
|
||||
strconcat: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user