added luacheck workflows

This commit is contained in:
theFox6 2020-02-26 17:14:47 +01:00
parent 3a76c4a403
commit 8b25d2c4e8
Signed by: theFox6
GPG Key ID: C884FE8D3BCE128A
4 changed files with 32 additions and 10 deletions

View File

@ -1,14 +1,12 @@
---
name: Bug report
about: Report a bug to help fixing it
title: ''
labels: unconfirmed bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
Insert a description of what the bug is.
**To Reproduce**
If known, steps to reproduce the behavior:
@ -18,7 +16,7 @@ If known, steps to reproduce the behavior:
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
Insert a description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.

View File

@ -1,20 +1,18 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
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 [...]
Insert a description of what the problem is. Example: I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Insert a 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.
Insert a description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Add any other context eg. screenshots about the feature request here.

13
.github/workflows/luacheck.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: luacheck
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
- name: run luacheck
uses: Roang-zero1/factorio-mod-luacheck@master
with:
LUACHECKRC_URL: https://raw.githubusercontent.com/${{github.repository}}/${{github.sha}}/.luacheckrc

13
.github/workflows/tidy_luacheck.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: tidy_luacheck
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
- name: run luacheck
uses: Roang-zero1/factorio-mod-luacheck@master
with:
LUACHECKRC_URL: https://raw.githubusercontent.com/${{github.repository}}/${{github.sha}}/.luacheck_tidy