From d5fac96a20b078b96ecba105cd0e54ce85bcf53b Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 22 Dec 2024 16:50:32 +0100 Subject: refactor(CI/Codestyle): Move the SQL check to python (#21002) --- .github/workflows/codestyle.yml | 2 +- .github/workflows/sql-codestyle.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to '.github') 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 -- cgit v1.2.3