From 44b0c3d084462c023c78e40728e2296b1a2aa9a5 Mon Sep 17 00:00:00 2001 From: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:18:43 +0100 Subject: [PATCH] ci: define some options for gas-diff --- .github/workflows/solidity.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 05aa150eb7..ee44b8d940 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -276,10 +276,12 @@ jobs: - name: Compare gas reports uses: Rubilmax/foundry-gas-diff@v3.18 - # TODO: define some options? with: ignore: 'test/**/*' report: 'gas-report-${{ matrix.package }}.ansi' + sortCriteria: avg + sortOrders: desc + summaryQuantile: 0.5 id: gas_diff - name: Add gas diff to sticky comment