Skip to content

fix: GetSpellInfo removed in WoW 11.0 #14

fix: GetSpellInfo removed in WoW 11.0

fix: GetSpellInfo removed in WoW 11.0 #14

Workflow file for this run

name: Luacheck Analyze & Lint
on:
pull_request:
types: [opened, synchronize]
branches:
- main
- master
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install and run Luacheck
uses: nebularg/actions-luacheck@v1
with:
args: --quiet
- name: Run personal tests
run: |
lua DRList-1.0/tests/test-classic.lua
lua DRList-1.0/tests/test-tbc.lua
lua DRList-1.0/tests/test-wotlk.lua
lua DRList-1.0/tests/test-cata.lua
lua DRList-1.0/tests/test-retail.lua
lua DRList-1.0/tests/test-retail.lua -frFR
- name: Check if lib minor versions matches
run: |
version_file1=$(sed -n 's/local MAJOR, MINOR = "DRList-1.0", \(.*\)--.*/\1/p' DRList-1.0/DRList-1.0.lua)
version_file2=$(sed -n 's/local MAJOR, MINOR = "DRList-1.0", \(.*\)--.*/\1/p' DRList-1.0/Spells.lua)
if [ "$version_file1" != "$version_file2" ]; then
echo "::error::DRList-1.0.lua minor version does not match Spells.lua version."
fi