From 4b68c8261276fc59934e3d4e6d9a3f97b5784313 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Mon, 21 Mar 2022 17:54:30 +0100 Subject: [PATCH] ci: move elvis check to the end --- .github/workflows/code_style_check.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code_style_check.yaml b/.github/workflows/code_style_check.yaml index 5cb284ac4..58ca5740f 100644 --- a/.github/workflows/code_style_check.yaml +++ b/.github/workflows/code_style_check.yaml @@ -18,9 +18,6 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 1000 - - name: Run elvis check - run: | - ./scripts/elvis-check.sh $GITHUB_BASE_REF - name: Check line-break at EOF run: | ./scripts/check-nl-at-eof.sh @@ -31,3 +28,8 @@ jobs: - name: Check Erlang code formatting run: | ./scripts/check-format.sh + + - name: Run elvis check + run: | + ./scripts/elvis-check.sh $GITHUB_BASE_REF +