Skip to content

feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE #28150

feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE

feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE #28150

Workflow file for this run

name: Codestyle
on:
pull_request:
paths:
- src/**
- "!README.md"
- "!docs/**"
jobs:
triage:
runs-on: ubuntu-latest
name: C++
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: AzerothCore codestyle
run: python ./apps/codestyle/codestyle.py
- name: C++ Advanced
run: |
sudo apt update -y
sudo apt install -y cppcheck
cppcheck --force --inline-suppr --suppressions-list=./.suppress.cppcheck src/ --output-file=report.txt
if [ -s report.txt ]; then # if file is not empty
cat report.txt
exit 1 # let github action fails
fi