fix: incorrect comment on Math.sign (#249) #597
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm install | |
- run: npx rescript format -all -check | |
- name: Helpful error message | |
if: failure() | |
run: echo "::error::Incorrect formatting. Please run 'npx rescript format -all' and commit the changes." |