ci(commitlint): use lintcommit.lua from main repo

[skip ci]
(cherry picked from commit 707cc1a167)
This commit is contained in:
James McCoy 2022-02-06 08:08:35 -05:00
parent ca73525485
commit 8f3621c4b7
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -13,7 +13,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
path: pr_nvim
- uses: rhysd/action-setup-vim@v1 - uses: rhysd/action-setup-vim@v1
with: with:
neovim: true neovim: true
- run: nvim --clean -es +"lua require('scripts.lintcommit').main({trace=true})" - run: wget https://raw.githubusercontent.com/neovim/neovim/master/scripts/lintcommit.lua
- run: nvim --clean -es +"cd pr_nvim" +"lua dofile('../lintcommit.lua').main({trace=true})"