refactor(CI/Codestyle): Move the SQL check to python (#21002)

This commit is contained in:
Kitzunu
2024-12-22 16:50:32 +01:00
committed by GitHub
parent cbdab03623
commit d5fac96a20
5 changed files with 148 additions and 39 deletions

View File

@@ -18,7 +18,7 @@ jobs:
with:
python-version: '3.10'
- name: AzerothCore codestyle
run: python ./apps/codestyle/codestyle.py
run: python ./apps/codestyle/codestyle-cpp.py
- name: C++ Advanced
run: |
sudo apt update -y

View File

@@ -13,5 +13,9 @@ jobs:
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
- name: Check pending SQL
run: source ./apps/ci/ci-pending.sh
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: AzerothCore codestyle
run: python ./apps/codestyle/codestyle-sql.py