Skip to content

Commit 91fe923

Browse files
committed
πŸ“ Improve example workflow
1 parent 2654e7b commit 91fe923

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,24 @@ on:
5757
# Optionally configure to run only for specific files. For example:
5858
# paths:
5959
# - src/**
60+
# - test/**
61+
# - foundry.toml
62+
# - remappings.txt
63+
# - .github/workflows/foundry-gas-diff.yml
6064

6165
jobs:
6266
compare_gas_reports:
6367
runs-on: ubuntu-latest
6468
steps:
6569
- uses: actions/checkout@v3
70+
with:
71+
submodules: recursive
6672

6773
- name: Install Foundry
6874
uses: onbjerg/foundry-toolchain@v1
6975
with:
7076
version: nightly
7177

72-
- name: Install Dependencies
73-
run: forge install
74-
7578
# Add any step generating a gas report to a temporary file named gasreport.ansi (can be changed)
7679
# For example:
7780
- run: forge test --gas-report > gasreport.ansi

0 commit comments

Comments
Β (0)