Skip to content

Commit 56248a7

Browse files
committed
chore: fix ci
1 parent cbc7596 commit 56248a7

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: |
@@ -111,11 +111,11 @@ jobs:
111111
run: pnpm -r test
112112

113113
- name: Check Spell
114-
if: runner.os != 'Linux'
114+
if: runner.os == 'Linux'
115115
run: pnpm check-spell
116116

117117
- name: Lint
118-
if: runner.os != 'Linux'
118+
if: runner.os == 'Linux'
119119
run: pnpm run lint
120120

121121
done:

0 commit comments

Comments
 (0)