Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

logo AzerothCore

reusable-workflows

Reusable workflows to be use with AzerothCore

how to use

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-module

codestyle

The 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@main

It checks src by default. To check other folders:

    with:
      check_paths: 'src tests'

About

Reusable workflows to be use with AzerothCore

Resources

Stars

2 stars

Watchers

8 watching

Forks

Used by

Contributors

Languages