Skip to content

Commit

Permalink
fix diff checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Nov 15, 2024
1 parent 1a80fec commit 2b52e0c
Show file tree
Hide file tree
Showing 2 changed files with 7 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
2 changes: 1 addition & 1 deletion .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ 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 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 2b52e0c

Please sign in to comment.