diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-04-29 14:30:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 14:30:54 +0200 |
commit | 13a24b905e1646767fed908b8dbdb535a65414ab (patch) | |
tree | cc5d92540be84e4bc1d678ff853670da6be9f99f | |
parent | 65fdd019b3f74a653b511282745004994d649857 (diff) | |
download | rneovim-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.yml | 16 |
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 |