1 parent 0234e7d commit b14edc5Copy full SHA for b14edc5
1 file changed
.github/workflows/ci.yml
@@ -97,7 +97,7 @@ jobs:
97
skip: ./.git,package-lock.json,ackee-blockchain-solady-report.pdf,EIP712Mock.sol
98
99
gas-diff:
100
- if: github.event_name == 'pull_request'
+ if: contains(github.event.pull_request.changed_files, '*.sol') # Run only if .sol files are changed
101
permissions: write-all
102
runs-on: ${{ matrix.os }}
103
strategy:
@@ -120,7 +120,7 @@ jobs:
120
run: forge install
121
122
- name: Generate gas diff
123
- uses: atarpara/foundry-snapshot-diff@v0.5
+ uses: atarpara/foundry-snapshot-diff@v0.6
124
id : gas_diff
125
126
- name: Add gas diff to sticky comment
@@ -129,3 +129,4 @@ jobs:
129
with:
130
delete: ${{ !steps.gas_diff.outputs.markdown }}
131
message: ${{ steps.gas_diff.outputs.markdown }}
132
+
0 commit comments