diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml new file mode 100644 index 0000000..0bf4842 --- /dev/null +++ b/.github/workflows/check-release.yml @@ -0,0 +1,11 @@ +on: [push, pull_request] +name: Check & Release +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: lint + uses: Roang-zero1/factorio-mod-luacheck@master + with: + luacheckrc_url: https://raw.githubusercontent.com/minetest-mods/irc/master/.luacheckrc diff --git a/.luacheckrc b/.luacheckrc index 7453628..326c56a 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,7 +2,7 @@ allow_defined_top = true read_globals = { - "minetest", + "minetest" } exclude_files = { diff --git a/README.md b/README.md index 99e0dcc..5aa1f76 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![](https://github.com/minetest-mods/irc/workflows/Check%20&%20Release/badge.svg)](https://github.com/minetest-mods/irc/actions) IRC Mod for Minetest ====================