Add formatting workflow

This commit is contained in:
Bobbyperson 2026-05-04 01:31:42 -04:00 committed by Jack
parent f573f89bf0
commit 0dcf045021

15
.github/workflows/formatting-check.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Check Formatting
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download sqformat
run: |
curl -sSL https://github.com/Bobbyperson/sqformat/releases/download/v1.2.0/sqformat-linux-x86_64 -o sqformat
chmod +x sqformat
- name: Check formatting
run: ./sqformat -cr .