Skip to content

Commit

Permalink
fix: trigger run with new action (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Nov 19, 2024
1 parent 19d8ece commit dfe9302
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
types:
- completed

permissions:
actions: read
issues: write
checks: read
statuses: read
pull-requests: write

jobs:
test:
uses: bgd-labs/github-workflows/.github/workflows/comment.yml@main
secrets: inherit
51 changes: 39 additions & 12 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,42 @@ on:

jobs:
test:
uses: bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
secrets: inherit
test-sol-zksync:
uses: bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
secrets: inherit
with:
mode: "CHANGED"
zksync: true
ROOT_DIR: "zksync"
release:
needs: [test]
uses: bgd-labs/github-workflows/.github/workflows/release.yml@main
name: Foundry build n test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: bgd-labs/action-rpc-env@main
with:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}

# we simply use foundry zk for all jobs in this repo
- name: Run Foundry setup
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main
with:
ZKSYNC: 'true'

- name: Run Forge tests
id: test
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
with:
mode: 'CHANGED'

- name: Run ZK tests
id: zktest
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
with:
ZKSYNC: true
mode: 'CHANGED'

- name: Run Forge tests
uses: bgd-labs/github-workflows/.github/actions/comment-artifact@main

# we let failing tests pass so we can log them in the comment, still we want the ci to fail
- name: Post test
if: ${{ steps.test.outputs.testStatus != 0 || steps.zktest.outputs.testStatus != 0 }}
run: |
echo "tests failed"
exit 1
2 changes: 1 addition & 1 deletion lib/aave-address-book
Submodule aave-address-book updated 89 files
+0 −100 .github/workflows/checks.yml
+1 −0 .github/workflows/comment-pr.yml
+2 −2 .github/workflows/cron.yml
+1 −1 .github/workflows/test-release-alpha.yml
+1 −1 .gitignore
+37 −0 CHANGELOG.md
+0 −799 errors.json
+1 −1 lib/aave-v3-origin
+882 −168 package-lock.json
+7 −6 package.json
+14 −0 safe.csv
+0 −170 scripts/abi/uiPoolData_provider_v2_abi.ts
+0 −47 scripts/checks/configEngine.ts
+0 −45 scripts/checks/riskStewards.ts
+0 −31 scripts/checks/stataFactory.ts
+0 −33 scripts/checks/wethGateway.ts
+10 −93 scripts/clients.ts
+1 −1 scripts/configs/governance/arbitrum.ts
+1 −1 scripts/configs/governance/avalanche.ts
+1 −1 scripts/configs/governance/base.ts
+1 −1 scripts/configs/governance/bnb.ts
+1 −1 scripts/configs/governance/ethereum.ts
+1 −1 scripts/configs/governance/gnosis.ts
+1 −1 scripts/configs/governance/metis.ts
+1 −1 scripts/configs/governance/optimism.ts
+1 −1 scripts/configs/governance/polygon.ts
+1 −1 scripts/configs/governance/polygonZkEvm.ts
+1 −1 scripts/configs/governance/scroll.ts
+2 −2 scripts/configs/governance/zksync.ts
+1 −1 scripts/configs/networks/arbitrum.ts
+1 −1 scripts/configs/networks/avalanche.ts
+1 −1 scripts/configs/networks/base.ts
+1 −1 scripts/configs/networks/bnb.ts
+1 −1 scripts/configs/networks/ethereum.ts
+1 −1 scripts/configs/networks/fantom.ts
+1 −1 scripts/configs/networks/gnosis.ts
+1 −1 scripts/configs/networks/metis.ts
+1 −1 scripts/configs/networks/optimism.ts
+1 −1 scripts/configs/networks/polygon.ts
+1 −1 scripts/configs/networks/polygonZkEvm.ts
+1 −1 scripts/configs/networks/scroll.ts
+2 −2 scripts/configs/networks/zksync.ts
+1 −1 scripts/configs/pools/arbitrum.ts
+1 −1 scripts/configs/pools/avalanche.ts
+16 −1 scripts/configs/pools/base.ts
+1 −1 scripts/configs/pools/bnb.ts
+1 −1 scripts/configs/pools/ethereum.ts
+1 −1 scripts/configs/pools/fantom.ts
+5 −1 scripts/configs/pools/gnosis.ts
+1 −1 scripts/configs/pools/harmony.ts
+1 −1 scripts/configs/pools/metis.ts
+1 −1 scripts/configs/pools/optimism.ts
+1 −1 scripts/configs/pools/polygon.ts
+1 −1 scripts/configs/pools/scroll.ts
+2 −2 scripts/configs/pools/zksync.ts
+2 −1 scripts/generateAddresses.ts
+1 −1 scripts/generator/governanceV2Generator.ts
+1 −1 scripts/generator/protocolV1Generator.ts
+1 −1 scripts/generator/safetyModuleGenerator.ts
+0 −19 scripts/sanity.ts
+0 −148 scripts/verifyVerified.ts
+1 −0 src/AaveAddressBook.sol
+20 −0 src/AaveV3BNB.sol
+194 −0 src/AaveV3BaseSepoliaLido.sol
+2 −0 src/AaveV3Ethereum.sol
+20 −0 src/AaveV3EthereumLido.sol
+13 −0 src/AaveV3Gnosis.sol
+2 −2 src/test/AaveV2Ethereum.t.sol
+1 −0 src/ts/AaveAddressBook.ts
+21 −1 src/ts/AaveV3BNB.ts
+131 −0 src/ts/AaveV3BaseSepoliaLido.ts
+13 −0 src/ts/AaveV3Ethereum.ts
+22 −0 src/ts/AaveV3EthereumLido.ts
+12 −0 src/ts/AaveV3Gnosis.ts
+10 −0 src/ts/abis/ICrossChainController.ts
+10 −0 src/ts/abis/IRescuable.ts
+31 −0 src/ts/abis/IStataTokenV2.ts
+114 −0 tests/__snapshots__/verification.spec.ts.snap
+6,746 −0 tests/cache/verified.json
+58 −0 tests/sanity/configEngine.spec.ts
+87 −0 tests/sanity/psp.spec.ts
+52 −0 tests/sanity/riskStewards.spec.ts
+41 −0 tests/sanity/stataFactory.spec.ts
+44 −0 tests/sanity/wethGateway.spec.ts
+1 −1 tests/utils.ts
+140 −0 tests/verification.spec.ts
+37 −2 tokenlist.json
+0 −1 ui/package.json
+5 −5 ui/src/app/page.tsx

0 comments on commit dfe9302

Please sign in to comment.