File tree Expand file tree Collapse file tree 8 files changed +21
-1062
lines changed Expand file tree Collapse file tree 8 files changed +21
-1062
lines changed Original file line number Diff line number Diff line change 1717 comment :
1818 name : Comment Bot
1919 runs-on : ubuntu-latest
20- # workflow run triggeres on all types of "completed" including "cancelled" and similar
20+ # workflow run triggers on all types of "completed" including "cancelled" and similar
2121 # we want this action to only run on a success & failure though
2222 if : ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }}
2323 steps :
Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@v4
19+ - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
1920 with :
20- submodules : recursive
21- - uses : oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135
22- - name : Install node dependencies
23- run : bun install
21+ node-version-file : .nvmrc
22+ cache : " npm"
23+
24+ - name : install
25+ run : npm ci --prefer-offline --no-audit
26+
2427 - name : lint
25- run : bun run lint --check
28+ run : npm run lint
2629
2730 test :
2831 name : Foundry build n test
@@ -33,15 +36,18 @@ jobs:
3336 - uses : actions/checkout@v4
3437 with :
3538 submodules : recursive
36- - uses : oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135
39+ - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
40+ with :
41+ node-version-file : .nvmrc
42+ cache : " npm"
3743
3844 - name : Install Foundry
3945 uses : foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773
4046 with :
4147 version : nightly
4248
4349 - name : Install node dependencies
44- run : bun install
50+ run : npm ci --prefer-offline --no-audit
4551
4652 - name : Run Forge build
4753 run : |
Original file line number Diff line number Diff line change 1+ 20
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ cp .env.example .env
2424
2525forge install
2626
27- # optional, to install prettier
28- bun install
27+ # required for tests & linting
28+ npm install
2929```
3030
3131<br >
Original file line number Diff line number Diff line change 22 "name" : " aave-v3-origin" ,
33 "version" : " 1.0.0" ,
44 "scripts" : {
5- "lint" : " prettier ." ,
6- "lint:fix" : " bun run lint -- --write"
5+ "lint" : " prettier . --check " ,
6+ "lint:fix" : " prettier . --write"
77 },
88 "repository" : {
99 "type" : " git" ,
2222 "prettier-plugin-solidity" : " ^1.1.1"
2323 },
2424 "dependencies" : {
25- "@bgd-labs/aave-cli" : " ^1.0.0 " ,
25+ "@bgd-labs/aave-cli" : " ^1.1.4 " ,
2626 "catapulta-verify" : " ^1.1.1"
2727 }
2828}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ contract DiffUtils is Test {
2222
2323 string [] memory inputs = new string [](7 );
2424 inputs[0 ] = 'npx ' ;
25- inputs[1 ] = '@bgd-labs/aave-cli@^1.0.0 ' ;
25+ inputs[1 ] = '@bgd-labs/aave-cli@^1.1.4 ' ;
2626 inputs[2 ] = 'diff-snapshots ' ;
2727 inputs[3 ] = beforePath;
2828 inputs[4 ] = afterPath;
You can’t perform that action at this time.
0 commit comments