Skip to content

Commit 2833127

Browse files
committed
updated ci.yml to add new Style formatting test
1 parent 5b050eb commit 2833127

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,19 @@ jobs:
1919
go-version: "1.23.0"
2020

2121
- name: Run go version
22-
run: go test -cover ./
22+
run: go test -cover ./
23+
style:
24+
name: Style
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- name: Check out code
29+
uses: actions/checkout@v4
30+
31+
- name: Set up Go
32+
uses: actions/setup-go@v5
33+
with:
34+
go-version: "1.23.0"
35+
36+
- name: Style
37+
run: test -z $(go fmt ./...)

0 commit comments

Comments
 (0)