Reusable workflows to be use with AzerothCore
Here is an example to use with AzerothCore Modules
name: core-build
on:
push:
branches:
- 'master'
pull_request:
jobs:
build:
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
with:
module_repo: ${{ github.event.repository.name }}If the module isn't at the root of the repo, pass the folder that holds it:
with:
module_repo: ${{ github.event.repository.name }}
module_path: server-side/mod-my-moduleThe same checks, for modules that used to keep their own copy of apps/ci/ci-codestyle.sh:
name: Codestyle Checks
on:
push:
branches:
- 'master'
pull_request:
jobs:
codestyle:
uses: azerothcore/reusable-workflows/.github/workflows/codestyle_modules.yml@mainIt checks src by default. To check other folders:
with:
check_paths: 'src tests'