Skip to content

Commit

Permalink
Add build and PR workflows/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbrgn committed Jan 21, 2022
1 parent 7768c3f commit 508ce8c
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Package addon

on:
push:
branches:
- main
tags:
- "*"
paths-ignore:
- ".github/**"
- ".gitignore"
- "README.md"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout addon
uses: actions/checkout@v1
with:
fetch-depth: 100

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -qo 011

- name: Package Retail
uses: BigWigsMods/packager@master
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.AUTH_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

name: Check PR

on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout addon
uses: actions/checkout@v2

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -qo 011
2 changes: 1 addition & 1 deletion AutoHideBinds.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 90105
## Title: AutoHideBinds
## Author: erikbrgn
## Version: 1.0.0
## Version: @project-version@
## Notes: Hides binds and macro names, but shows them on mouseover.

AutoHideBinds.lua

0 comments on commit 508ce8c

Please sign in to comment.