fix: GetSpellInfo removed in WoW 11.0 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |