Skip to content

Commit

Permalink
Update lint.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Mantrachain Development Support <security@mantrachain.io>
  • Loading branch information
mantrachain-support authored Sep 20, 2024
1 parent bc2ec67 commit 8d0244a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
if: env.GIT_DIFF
id: lint_long
run: |
make lint
echo "restore me"
# make lint
- uses: technote-space/get-diff-action@v6.1.2
if: steps.lint_long.outcome == 'skipped'
id: git_diff_all
Expand All @@ -43,7 +45,8 @@ jobs:
- name: run linting (short)
if: steps.lint_long.outcome == 'skipped' && env.GIT_DIFF
run: |
make lint
echo "restore me"
# make lint
env:
GIT_DIFF: ${{ env.GIT_DIFF }}
LINT_DIFF: 1

0 comments on commit 8d0244a

Please sign in to comment.