diff --git a/.github/workflows/.checkluarc.json b/.github/workflows/.checkluarc.json index 91febd2..92d4df2 100644 --- a/.github/workflows/.checkluarc.json +++ b/.github/workflows/.checkluarc.json @@ -7,12 +7,8 @@ ], "Lua.workspace.library": [ "/github/workspace/deps/neodev.nvim/types/stable" - "${3rd}/busted/library" + "/github/workspace/deps/neodev.nvim/types/nightly" ], "Lua.diagnostics.libraryFiles": "Disable", "Lua.workspace.checkThirdParty": "Disable", - "diagnostics.globals": [ - "describe", - "it", - ] } diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 5e2d898..da25156 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -1,10 +1,13 @@ --- name: lua_ls-typecheck + on: - pull_request: ~ push: branches: - - '*' + - "main" + pull_request: + branches: + - "main" jobs: build: @@ -13,10 +16,10 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout dependency neodev - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "folke/neodev.nvim" path: "deps/neodev.nvim" @@ -27,4 +30,3 @@ jobs: configpath: .github/workflows/.checkluarc.json directories: | lua - tests