Skip to content

always return an action when using store:get() #13

always return an action when using store:get()

always return an action when using store:get() #13

Workflow file for this run

name: Linter
on:
push:
paths:
- 'src/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
uses: ok-nick/[email protected]
- name: Download type files
run: curl -L "https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.luau" > globalTypes.d.luau
- name: Generate sourcemaps
run: rojo sourcemap dev.project.json --include-non-scripts --output sourcemap.json
- name: Lint with luau-lsp
run: luau-lsp analyze --defs=globalTypes.d.luau --sourcemap=sourcemap.json --no-strict-dm-types --ignore=Packages/** --ignore=*.spec.luau --ignore=examples/** --ignore=modules/** --flag:LuauTinyControlFlowAnalysis=True src
- name : Lint with selene
run: selene src