Skip to content

Commit 0b7aa0e

Browse files
committed
chore: fix ci
1 parent 2f9e8a7 commit 0b7aa0e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ jobs:
4040
go-version: ${{ matrix.go-version }}
4141
cache-name: test-go
4242
- name: golangci-lint
43-
if: runner.os != 'Linux'
43+
if: runner.os == 'Linux'
4444
uses: golangci/golangci-lint-action@v8
4545
with:
4646
version: v2.3.0
4747
args: --timeout=5m ./cmd/... ./internal/...
4848
- name: go vet
49-
if: runner.os != 'Linux'
49+
if: runner.os == 'Linux'
5050
run: npm run lint:go
5151
- name: go fmt
52-
if: runner.os != 'Linux'
52+
if: runner.os == 'Linux'
5353
run: npm run format:go
5454
- name: Unit Test
5555
run: |
@@ -117,11 +117,11 @@ jobs:
117117
run: pnpm -r test
118118

119119
- name: Check Spell
120-
if: runner.os != 'Linux'
120+
if: runner.os == 'Linux'
121121
run: pnpm check-spell
122122

123123
- name: Lint
124-
if: runner.os != 'Linux'
124+
if: runner.os == 'Linux'
125125
run: pnpm run lint
126126

127127
done:

0 commit comments

Comments
 (0)