aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-29 14:30:54 +0200
committerGitHub <noreply@github.com>2023-04-29 14:30:54 +0200
commit13a24b905e1646767fed908b8dbdb535a65414ab (patch)
treecc5d92540be84e4bc1d678ff853670da6be9f99f
parent65fdd019b3f74a653b511282745004994d649857 (diff)
downloadrneovim-13a24b905e1646767fed908b8dbdb535a65414ab.tar.gz
rneovim-13a24b905e1646767fed908b8dbdb535a65414ab.tar.bz2
rneovim-13a24b905e1646767fed908b8dbdb535a65414ab.zip
ci: run lintcommit with cmake target
This increases CI time, but prevents situations where it works on CI but not locally.
-rw-r--r--.github/workflows/lintcommit.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/lintcommit.yml b/.github/workflows/lintcommit.yml
index 0bd92c05ec..e56211c29b 100644
--- a/.github/workflows/lintcommit.yml
+++ b/.github/workflows/lintcommit.yml
@@ -13,7 +13,15 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- - uses: rhysd/action-setup-vim@v1
- with:
- neovim: true
- - run: nvim --clean -l scripts/lintcommit.lua main
+
+ - run: ./.github/scripts/install_deps.sh
+ - uses: ./.github/actions/cache
+ - 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