File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5151
5252 - run : yarn --frozen-lockfile
5353
54+ - run : yarn format:check
55+ if : ${{ matrix.os == 'ubuntu-latest' }}
56+
5457 - run : yarn build
5558
5659 - run : yarn checkchange --verbose
@@ -115,6 +118,7 @@ jobs:
115118 - name : Format
116119 run : cargo fmt --check
117120 working-directory : ./rust
121+ if : ${{ matrix.os == 'ubuntu-latest' }}
118122
119123 - name : Lint
120124 run : cargo clippy --all-targets -- -D warnings
@@ -151,6 +155,7 @@ jobs:
151155 run : test -z "$(gofmt -l .)"
152156 shell : bash
153157 working-directory : ./go
158+ if : ${{ matrix.os == 'ubuntu-latest' }}
154159
155160 - name : Lint
156161 run : go vet ./...
Original file line number Diff line number Diff line change 2828 "checkchange" : " node ./lib/cli.js check" ,
2929 "docs" : " echo \" Run this from the docs folder instead\" && exit 1" ,
3030 "docs:build" : " echo \" Run this from the docs folder instead\" && exit 1" ,
31- "format" : " prettier --write '**/*'" ,
31+ "format" : " prettier --write ." ,
32+ "format:check" : " prettier --check ." ,
3233 "prepare" : " husky install" ,
3334 "lint" : " yarn lint:deps && yarn lint:code" ,
3435 "lint:code" : " eslint --color --max-warnings=0 src" ,
You can’t perform that action at this time.
0 commit comments