Sfoglia il codice sorgente

ci: move elvis check to the end

Zaiming (Stone) Shi 3 anni fa
parent
commit
4b68c82612
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5 3
      .github/workflows/code_style_check.yaml

+ 5 - 3
.github/workflows/code_style_check.yaml

@@ -18,9 +18,6 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2
         with:
         with:
           fetch-depth: 1000
           fetch-depth: 1000
-      - name: Run elvis check
-        run: |
-          ./scripts/elvis-check.sh $GITHUB_BASE_REF
       - name: Check line-break at EOF
       - name: Check line-break at EOF
         run: |
         run: |
           ./scripts/check-nl-at-eof.sh
           ./scripts/check-nl-at-eof.sh
@@ -31,3 +28,8 @@ jobs:
       - name: Check Erlang code formatting
       - name: Check Erlang code formatting
         run: |
         run: |
           ./scripts/check-format.sh
           ./scripts/check-format.sh
+
+      - name: Run elvis check
+        run: |
+          ./scripts/elvis-check.sh $GITHUB_BASE_REF
+