Add linting step for rbx_dom_lua (#366) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Luau Linting | |
on: | |
push: | |
branches: "master" | |
pull_request: | |
branches: "master" | |
paths: ["*.lua", "*.luau"] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ok-nick/[email protected] | |
- name: Run Selene | |
run: selene rbx_dom_lua/src | |
- name: Run StyLua | |
run: stylua rbx_dom_lua/src --check |