From 0fcc32b707f32d6519916708ab5388f8d6848877 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Sun, 14 Aug 2022 14:08:38 +0100 Subject: [PATCH] ci(lint): run uncrustify earlier --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c87b36e7e4..d2b451f980 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,23 +98,6 @@ jobs: ${{ env.CACHE_NVIM_DEPS_DIR }} key: lint-${{ hashFiles('cmake/*', '**/CMakeLists.txt', '!cmake.deps/**CMakeLists.txt') }}-${{ github.base_ref }} - - name: Build third-party deps - run: ./ci/before_script.sh - - - name: Build nvim - run: ./ci/run_tests.sh build_nvim - - - if: "!cancelled()" - name: lintcfull - run: make lintcfull - - - if: "!cancelled()" - name: lintstylua - uses: JohnnyMorganz/stylua-action@1.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --check runtime/ - - if: "!cancelled()" name: uncrustify run: | @@ -133,6 +116,23 @@ jobs: run: | git diff --color --exit-code + - name: Build third-party deps + run: ./ci/before_script.sh + + - name: Build nvim + run: ./ci/run_tests.sh build_nvim + + - if: "!cancelled()" + name: lintcfull + run: make lintcfull + + - if: "!cancelled()" + name: lintstylua + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --check runtime/ + - if: "!cancelled()" name: lintlua run: make lintlua