commit 13a24b905e1646767fed908b8dbdb535a65414ab parent 65fdd019b3f74a653b511282745004994d649857 Author: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 29 Apr 2023 14:30:54 +0200 ci: run lintcommit with cmake target This increases CI time, but prevents situations where it works on CI but not locally. Diffstat:
| M | .github/workflows/lintcommit.yml | | | 16 | ++++++++++++---- |
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git 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