Skip to content

Runtime tests using examples from docstrings #540

Runtime tests using examples from docstrings

Runtime tests using examples from docstrings #540

Workflow file for this run

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."