mirror of
https://github.com/R2Northstar/NorthstarMods
synced 2026-08-25 12:29:17 -04:00
Add formatting workflow
This commit is contained in:
parent
f573f89bf0
commit
0dcf045021
1 changed files with 15 additions and 0 deletions
15
.github/workflows/formatting-check.yml
vendored
Normal file
15
.github/workflows/formatting-check.yml
vendored
Normal 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 .
|
||||
Loading…
Add table
Add a link
Reference in a new issue