mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-11-28 16:18:06 -08:00
ci: fix and enforce formatting on main (#862)
* style: format build-args test with oxfmt * ci: check formatting in the integrity job yarn format:check was only run locally, so unformatted code could land on main unnoticed.
This commit is contained in:
@@ -49,6 +49,7 @@ jobs:
|
||||
case "$(yarn --version)" in 1.*) echo 'expected up-to-date yarn version'; exit 1 ;; esac
|
||||
yarn install --immutable
|
||||
- run: yarn lint
|
||||
- run: yarn format:check
|
||||
- run: yarn test:ci --coverage
|
||||
- run: bash <(curl -s https://codecov.io/bash)
|
||||
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
|
||||
|
||||
Reference in New Issue
Block a user