Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Run Luacheck
uses: nebularg/actions-luacheck@v1
with:
annotate: warning
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: CI
name: Release

on:
push:
branches:
- main
tags:
- "v*"

jobs:
build:
release:
runs-on: ubuntu-latest

steps:
Expand All @@ -22,7 +20,6 @@ jobs:
annotate: warning

- name: Package and Release
if: startsWith(github.ref, 'refs/tags/')
uses: BigWigsMods/packager@v2
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
8 changes: 7 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
std = "lua51"
max_line_length = false

ignore = {
"211/AddonName", -- unused variable: idiomatic WoW pattern (local AddonName, CT = ...)
"212/self", -- unused argument: WoW callbacks always receive self; closures use it implicitly
"432/self", -- shadowing upvalue: nested WoW callbacks each receive their own self
}

-- Globals set by this addon
globals = {
"CooldownTrackerDB",
"SLASH_COOLDOWNTRACKER1",
"SLASH_COOLDOWNTRACKER2",
"SlashCmdList", -- addon writes SlashCmdList["COOLDOWNTRACKER"]
}

-- WoW API globals (read-only from this addon's perspective)
Expand All @@ -18,7 +25,6 @@ read_globals = {
"SOUNDKIT",
"UIParent",
"GameTooltip",
"SlashCmdList",
-- Namespaces
"C_Timer",
"Settings",
Expand Down
2 changes: 1 addition & 1 deletion CooldownTracker.toc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: Healer Cooldown Tracker
## Notes: Manually track healer cooldowns for raid leaders. Click to start a timer when a healer calls out on comms.
## Author: Reube
## Version: 1.1.0
## Version: 1.2.0
## SavedVariables: CooldownTrackerDB

Data.lua
Expand Down
1 change: 0 additions & 1 deletion UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ end
-- These functions reanchor all child widgets inside an existing row frame.
-- ---------------------------------------------------------------------------
local function ApplyWideLayout(row)
local cd = row.cd
local rowW = WIDE_W - 16

row:SetSize(rowW, WIDE_ROW_H)
Expand Down
Loading