Skip to content

Commit

Permalink
fix diff checks (#15258)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 authored Nov 18, 2024
1 parent 7cd17d6 commit 1e694ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,14 @@ jobs:
make rm-mocked
make generate
- name: Ensure clean after generate
run: git diff --stat --exit-code
run: |
git add --all
git diff --stat --cached --exit-code
- run: make gomodtidy
- name: Ensure clean after tidy
run: git diff --minimal --exit-code
run: |
git add --all
git diff --minimal --cached --exit-code
run-frequency:
name: Scheduled Run Frequency
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ jobs:
run: ./tools/ci/check_solc_hashes
- name: Check if Go solidity wrappers are updated
if: ${{ needs.changes.outputs.changes == 'true' }}
run: git diff --minimal --color --exit-code | diff-so-fancy
run: |
git add --all
git diff --minimal --color --cached --exit-code | diff-so-fancy
# The if statements for steps after checkout repo is a workaround for
# passing required check for PRs that don't have filtered changes.
Expand Down

0 comments on commit 1e694ba

Please sign in to comment.