aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/selene.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/selene.yml')
-rw-r--r--.github/workflows/selene.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/selene.yml b/.github/workflows/selene.yml
new file mode 100644
index 0000000..7ce7ba8
--- /dev/null
+++ b/.github/workflows/selene.yml
@@ -0,0 +1,20 @@
+name: Selene check
+
+on:
+ push:
+ branches:
+ - "main"
+ pull_request:
+
+jobs:
+ selene:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Run Selene check
+ uses: NTBBloodbath/selene-action@v1.0.0
+ with:
+ # token is needed because the action allegedly downloads binary from github releases
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: lua/ tests/ scripts/
+ version: 0.20.0