mirror of https://github.com/lcpz/lain.git
Add issue template; set up Action to update Rockspec #542
This commit is contained in:
parent
4fa8e10c84
commit
f832197eaa
|
@ -1,9 +1,6 @@
|
||||||
---
|
---
|
||||||
name: Bug report
|
name: Bugs
|
||||||
about: Create a report to help us improve
|
about: Bugs and unintended behavior
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,28 @@ jobs:
|
||||||
linting:
|
linting:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Running tests triggered by a ${{ github.event_name }} event."
|
- name: Checkout
|
||||||
- run: echo "Testing ${{ github.ref }} from ${{ github.repository }} on ${{ runner.os }}"
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run tests
|
|
||||||
|
- name: Luacheck linter
|
||||||
uses: lunarmodules/luacheck@v0
|
uses: lunarmodules/luacheck@v0
|
||||||
|
|
||||||
|
rockspec:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: leafo/gh-actions-lua@v9
|
||||||
|
- uses: leafo/gh-actions-luarocks@v4
|
||||||
|
|
||||||
|
- name: Update Rockspec
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
||||||
|
run: |
|
||||||
|
if [[ $(git diff *.rockspec | grep "+version") ]]
|
||||||
|
then
|
||||||
|
echo "Rockspec changed, uploading to LuaRocks.org"
|
||||||
|
luarocks upload *.rockspec --api-key "$LUAROCKS_API_KEY"
|
||||||
|
else
|
||||||
|
echo "Rockspec unchanged, nothing to do"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
|
rockspec_format = "3.0"
|
||||||
package = "lain"
|
package = "lain"
|
||||||
version = "scm-1"
|
version = "scm-1"
|
||||||
source = {
|
source = {
|
||||||
url = "git+https://github.com/lcpz/lain.git",
|
url = "git+https://github.com/lcpz/lain.git"
|
||||||
tag = "master"
|
|
||||||
}
|
}
|
||||||
description = {
|
description = {
|
||||||
summary = "Layout, widgets and utilities for Awesome WM",
|
summary = "Layout, widgets and utilities for Awesome WM",
|
||||||
detailed = "Alternative layouts, asynchronous widgets and utility functions for Awesome WM. Non-Lua dependency: curl (for IMAP, MPD and weather widgets).",
|
detailed = "Alternative layouts, asynchronous widgets and utility functions for Awesome WM. Non-Lua dependency: curl (for IMAP, MPD and weather widgets).",
|
||||||
homepage = "https://github.com/lcpz/lain",
|
homepage = "https://github.com/lcpz/lain",
|
||||||
|
issues_url = "https://github.com/lcpz/lain/issues",
|
||||||
|
maintainer = "Luca Cpz",
|
||||||
license = "GPL2"
|
license = "GPL2"
|
||||||
}
|
}
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|
Loading…
Reference in New Issue