Skip to content

Commit

Permalink
Merge branch 'master' into interface-version
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim authored Jan 1, 2025
2 parents 3942dcf + 9405495 commit 1d733a1
Show file tree
Hide file tree
Showing 13 changed files with 159 additions and 79 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patreon: p3lim
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
assignees:
- p3lim
6 changes: 3 additions & 3 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Package
uses: BigWigsMods/packager@v2
Expand All @@ -20,10 +20,10 @@ jobs:

- name: Get short commit sha
id: sha
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: oUF_Experience-${{ steps.sha.outputs.sha_short }}
path: .release/
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Clone wiki
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: .wiki
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Update license year
uses: p3lim/license-year-updater@v1
uses: p3lim/license-year-updater@v2
with:
files: LICENSE.txt

- name: Create pull request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
title: Update license
body:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint

on:
- push
- pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run luacheck
uses: nebularg/actions-luacheck@v1
with:
annotate: warning
args: --no-color
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Trim changelog
run: sed -ni '1p;2,/^###/{/^###/q;p;}' CHANGELOG.md
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Update TOC Interface version
uses: p3lim/toc-interface-updater@v2
uses: p3lim/toc-interface-updater@v3
with:
future: true

- name: Create pull request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
title: Update Interface version
body:
Expand Down
54 changes: 54 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
std = 'lua51'

quiet = 1 -- suppress report output for files without warnings

-- see https://luacheck.readthedocs.io/en/stable/warnings.html#list-of-warnings
-- and https://luacheck.readthedocs.io/en/stable/cli.html#patterns
ignore = {
'212/self', -- unused argument self
'212/event', -- unused argument event
'212/unit', -- unused argument unit
'212/element', -- unused argument element
'312/event', -- unused value of argument event
'312/unit', -- unused value of argument unit
'431', -- shadowing an upvalue
'614', -- trailing whitespace in comment (we use this for docs)
'631', -- line is too long
}

globals = {
'oUF',
'_TAGS', -- part of oUF's tag env, not really exposed
}

read_globals = {
-- FrameXML objects
'GameTooltip',

-- FrameXML functions
'IsWatchingHonorAsXP',

-- GlobalStrings
'COMBAT_XP_GAIN',
'HONOR_LEVEL_LABEL',
'TUTORIAL_TITLE26',

-- namespaces
'C_PvP',

-- API
'BreakUpLargeNumbers',
'GetMaxLevelForPlayerExpansion',
'GetRestrictedAccountData',
'GetXPExhaustion',
'IsInActiveWorldPVP',
'IsXPUserDisabled',
'UnitHasVehicleUI',
'UnitHonor',
'UnitHonorLevel',
'UnitHonorMax',
'UnitLevel',
'UnitXP',
'UnitXPMax',
'hooksecurefunc',
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Changes in 110000.33-Release:

- Changed: Update Interface version
- Changed: Use oUF:CreateColor for all colors
- Removed: Deprecations

### Changes in 90200.32-Release:

- Changed: Update Interface version
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2023 Adrian L Lange <addons@p3lim.net>
Copyright (c) 2015-2025 Adrian L Lange <addons@p3lim.net>

All rights reserved.

Expand Down
Loading

0 comments on commit 1d733a1

Please sign in to comment.