Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

fix: avoid exception when calling :Reject on last element (#11) #12

fix: avoid exception when calling :Reject on last element (#11)

fix: avoid exception when calling :Reject on last element (#11) #12

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
luacheck:
name: Luacheck
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
sudo apt-get update
sudo add-apt-repository universe
sudo apt install luarocks -y
sudo luarocks install luacheck
- name: Run Luacheck
run: luacheck .
stylua:
name: StyLua
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Stylua
uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.18.2
args: --check .