style check
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -19,4 +19,20 @@ jobs:
|
||||
go-version: "1.23.0"
|
||||
|
||||
- name: Tests
|
||||
run: go test ./... -cover
|
||||
run: go test ./... -cover
|
||||
|
||||
style:
|
||||
name: Style
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.23.0"
|
||||
|
||||
- name: Style
|
||||
run: test -z $(go fmt ./...)
|
||||
Reference in New Issue
Block a user