Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 2ed4f8f

Browse files
committed
Move Format CI out Lints
1 parent 9ec3fa1 commit 2ed4f8f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/go.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Go
1+
name: go
22

33
on:
44
push:
@@ -20,7 +20,15 @@ jobs:
2020
- name: Build
2121
run: go build -v ./...
2222

23-
check:
23+
format:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: Check code formatting using gofmt
29+
uses: Jerome1337/[email protected]
30+
31+
lint:
2432
runs-on: ubuntu-latest
2533
steps:
2634
- uses: actions/checkout@v4
@@ -42,9 +50,6 @@ jobs:
4250
- name: Lint
4351
run: golint -set_exit_status ./...
4452

45-
- name: Check code formatting using gofmt
46-
uses: Jerome1337/[email protected]
47-
4853
test:
4954
runs-on: ubuntu-latest
5055
steps:

0 commit comments

Comments
 (0)