Skip to content

Commit

Permalink
chore: Update gas report script paths for gas report generation and c…
Browse files Browse the repository at this point in the history
…omparison
  • Loading branch information
Aboudjem committed May 31, 2024
1 parent a4de90f commit 54aa2d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gas_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: yarn install

- name: Run gas report script
run: node generateGasReport.js
run: node scripts/foundry/generateGasReport.js

- name: Upload gas report artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

- name: Compare gas reports
run: |
node compareGasReports.js previous_gas_report/GAS_REPORT.md current_gas_report/GAS_REPORT.md > gas_report_diff.md
node scripts/foundry/compareGasReports.js previous_gas_report/GAS_REPORT.md current_gas_report/GAS_REPORT.md > gas_report_diff.md
id: compare-gas-reports

- name: Upload gas report comparison
Expand All @@ -80,6 +80,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
header: Gas Report Comparison
message: |
## Gas Report Comparison
```diff
${{ steps.compare-gas-reports.outputs.gas_report_diff }}
```

0 comments on commit 54aa2d5

Please sign in to comment.