chore: add GitHub Actions CI/CD, luacheck, and BigWigs packager#5
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Adds CI/CD infrastructure so the addon can be linted automatically and distributed as a versioned zip via GitHub Releases, instead of manually zipping and sharing files.
.github/workflows/release.yml— GitHub Actions workflow: luacheck on every push tomain; luacheck + package + GitHub Release onv*tag push (uses built-inGITHUB_TOKEN, no secrets needed).luacheckrc— Luacheck config whitelisting WoW API globals and addon-owned globals.pkgmeta— BigWigs packager metadata excluding dev-only files from the release zip.gitignore— Ignores.release/build dir and local*.zipartifacts.github/pull_request_template.md— Project-specific PR templateREADME.md— Updated Installation section and added Releases & CI sectionAGENTS.md— Added CI/CD section with instructions for future contributorsTesting
Non-functional change — no in-game behaviour is modified.
To verify the CI workflow after merge:
main## Version:inCooldownTracker.tocand push a tag:git tag -a v1.2.0 -m "Version 1.2.0" git push origin v1.2.0CooldownTracker-1.2.0.zipattachedChecklist
.luacheckrcupdated if needed)CreateFrame,SetParent, orSetScripton secure frames)Data.luaspell entries include bothdurationanddefaultDuration.pkgmetaignore list## Version:inCooldownTracker.tocbumped if this is a release