Skip to content

ci: Add a github actions workflow for lint #1

ci: Add a github actions workflow for lint

ci: Add a github actions workflow for lint #1

Workflow file for this run

name: Check Code Formatting
on: [push, pull_request]
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run make fmt
run: make -C schema fmt
- name: Check for changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "There are unformatted files."
exit 1
else
echo "All files are properly formatted."
fi