summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2024-12-22 16:50:32 +0100
committerGitHub <noreply@github.com>2024-12-22 16:50:32 +0100
commitd5fac96a20b078b96ecba105cd0e54ce85bcf53b (patch)
treee1f9b7f028e62bd3fa82af10a9d0885bdc1ff485 /.github
parentcbdab03623b82da02bd135e21807658f2d5f1cb2 (diff)
refactor(CI/Codestyle): Move the SQL check to python (#21002)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codestyle.yml2
-rw-r--r--.github/workflows/sql-codestyle.yml8
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml
index f30e533752..1380bc6835 100644
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -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
diff --git a/.github/workflows/sql-codestyle.yml b/.github/workflows/sql-codestyle.yml
index a020887160..fa2c64292d 100644
--- a/.github/workflows/sql-codestyle.yml
+++ b/.github/workflows/sql-codestyle.yml
@@ -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