perf: harden quotas and reduce compression overhead
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -12,6 +12,21 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Verify migration line endings
|
||||
run: |
|
||||
python3 - <<'PY'
|
||||
from pathlib import Path
|
||||
|
||||
invalid = []
|
||||
for path in sorted(Path("migrations").glob("*.sql")):
|
||||
data = path.read_bytes()
|
||||
if b"\n" in data.replace(b"\r\n", b""):
|
||||
invalid.append(str(path))
|
||||
|
||||
if invalid:
|
||||
raise SystemExit("migrations must use CRLF: " + ", ".join(invalid))
|
||||
PY
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user