mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-17 05:42:09 +08:00
Add Format check
This commit is contained in:
parent
64509549c3
commit
ac9c704a12
4
.github/workflows/gin.yml
vendored
4
.github/workflows/gin.yml
vendored
@ -68,6 +68,10 @@ jobs:
|
|||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
flags: ${{ matrix.os }},go-${{ matrix.go }},${{ matrix.test-tags }}
|
flags: ${{ matrix.os }},go-${{ matrix.go }},${{ matrix.test-tags }}
|
||||||
|
|
||||||
|
- name: Format
|
||||||
|
if: matrix.go-version == '1.19.x'
|
||||||
|
run: diff -u <(echo -n) <(gofmt -d .)
|
||||||
notification-gitter:
|
notification-gitter:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user