mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
65fdd019b3
commit
13a24b905e
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
|
||||||
|
Loading…
Reference in New Issue
Block a user