aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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