Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

⬆️ Update dependency cypress to v13.6.2 #941

⬆️ Update dependency cypress to v13.6.2

⬆️ Update dependency cypress to v13.6.2 #941

Workflow file for this run

name: Check SQL migration syntax
on:
pull_request:
branches: [master]
merge_group:
types: [checks_requested]
jobs:
psql_check:
name: 'Check SQL migration syntax'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create temporary requirements.txt
run: echo "pgsanity" > requirements.txt
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Install PgSanity & dependencies
run: |
pip install -r requirements.txt
sudo apt-get -y update
sudo apt-get -y install libecpg-dev
- name: Run PgSanity
run: |
cd backend/src/main/resources/db/migration
find -name '*.sql' | xargs pgsanity