mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
chore(CI): rename CI to easier determain which is which (#17879)
* chore(CI): rename CI to easier determain which is which * small change * Update codestyle.yml * codestyle checks changes * test to see if this works * revert this, just to check that CI works * Revert "revert this, just to check that CI works" This reverts commit ad03c6bdd9bb33faf8ee1c8d1571090bd4ced531. * Update core_modules_build.yml
This commit is contained in:
23
.github/workflows/codestyle.yml
vendored
23
.github/workflows/codestyle.yml
vendored
@@ -1,16 +1,27 @@
|
||||
name: Codestyle
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- src/**
|
||||
- "!README.md"
|
||||
- "!docs/**"
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
name: C++
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check core codestyle
|
||||
- name: AzerothCore codestyle
|
||||
run: source ./apps/ci/ci-codestyle.sh
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user