Sitelet https://github.com/Vectorized/solady/commit/b14edc51bc720bacdce28bbd9e095d2662a6628f
Skip to content

Commit b14edc5

Browse files
authored
👷‍♂️ Edit ci (#1085)
* 👷‍♂️ Edit ci * Run gas-diff when changed .sol
1 parent 0234e7d commit b14edc5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
skip: ./.git,package-lock.json,ackee-blockchain-solady-report.pdf,EIP712Mock.sol
9898

9999
gas-diff:
100-
if: github.event_name == 'pull_request'
100+
if: contains(github.event.pull_request.changed_files, '*.sol') # Run only if .sol files are changed
101101
permissions: write-all
102102
runs-on: ${{ matrix.os }}
103103
strategy:
@@ -120,7 +120,7 @@ jobs:
120120
run: forge install
121121

122122
- name: Generate gas diff
123-
uses: atarpara/foundry-snapshot-diff@v0.5
123+
uses: atarpara/foundry-snapshot-diff@v0.6
124124
id : gas_diff
125125

126126
- name: Add gas diff to sticky comment
@@ -129,3 +129,4 @@ jobs:
129129
with:
130130
delete: ${{ !steps.gas_diff.outputs.markdown }}
131131
message: ${{ steps.gas_diff.outputs.markdown }}
132+

0 commit comments

Comments
 (0)