refactor(CI/Codestyle): Move the SQL check to python (#21002)
This commit is contained in:
parent
cbdab03623
commit
d5fac96a20
5 changed files with 148 additions and 39 deletions
2
.github/workflows/codestyle.yml
vendored
2
.github/workflows/codestyle.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/sql-codestyle.yml
vendored
8
.github/workflows/sql-codestyle.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue