Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
okhaimie-dev committed Oct 6, 2024
1 parent fbb8b01 commit 2e5291e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: cargo install scarb-cairo-lint --git https://github.com/keep-starknet-strange/cairo-lint

- uses: asdf-vm/actions/install@v3
- name: Run cairo-lint
- name: Run cairo-lint and check for warnings
run: |
scarb cairo-lint > lint_output.txt
if grep -i "warning:" lint_output.txt; then
scarb cairo-lint > lint_output.txt 2>&1
if grep -qi "warning:" lint_output.txt; then
echo "Linting failed due to warnings"
exit 1
fi
Expand Down

0 comments on commit 2e5291e

Please sign in to comment.