mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
ci: run lintcommit with cmake target
This increases CI time, but prevents situations where it works on CI but not locally.
This commit is contained in:
16
.github/workflows/lintcommit.yml
vendored
16
.github/workflows/lintcommit.yml
vendored
@@ -13,7 +13,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: rhysd/action-setup-vim@v1
|
|
||||||
with:
|
- run: ./.github/scripts/install_deps.sh
|
||||||
neovim: true
|
- uses: ./.github/actions/cache
|
||||||
- run: nvim --clean -l scripts/lintcommit.lua main
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cmake -S cmake.deps -B .deps -G Ninja
|
||||||
|
cmake --build .deps
|
||||||
|
cmake --preset ci
|
||||||
|
cmake --build build
|
||||||
|
|
||||||
|
- name: lintcommit
|
||||||
|
run: cmake --build build --target lintcommit
|
||||||
|
|||||||
Reference in New Issue
Block a user