-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Timelock authorizer configuration CI (#89)
- Loading branch information
Showing
15 changed files
with
1,480 additions
and
14 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
.github/actions/verify-network-timelock-authorizer-config/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 'Verify Timelock Authorizer Config' | ||
inputs: | ||
network-name: | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up environment | ||
uses: ./.github/actions/setup | ||
- name: Prepare Config | ||
run: yarn ci:prepare-config | ||
shell: bash | ||
- name: Check Timelock Authorizer config | ||
run: yarn verify-network-timelock-authorizer-config ${{ inputs.network-name }} | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
name: Timelock Authorizer | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: ['*', '**/*'] | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
verify-mainnet-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Mainnet Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
MAINNET_RPC_ENDPOINT: ${{ secrets.MAINNET_RPC_ENDPOINT }} | ||
with: | ||
network-name: mainnet | ||
|
||
verify-polygon-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Polygon Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
POLYGON_RPC_ENDPOINT: ${{ secrets.POLYGON_RPC_ENDPOINT }} | ||
with: | ||
network-name: polygon | ||
|
||
verify-arbitrum-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Arbitrum Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
ARBITRUM_RPC_ENDPOINT: ${{ secrets.ARBITRUM_RPC_ENDPOINT }} | ||
with: | ||
network-name: arbitrum | ||
|
||
verify-optimism-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Optimism Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
OPTIMISM_RPC_ENDPOINT: ${{ secrets.OPTIMISM_RPC_ENDPOINT }} | ||
with: | ||
network-name: optimism | ||
|
||
verify-bsc-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Binance Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
BINANCE_RPC_ENDPOINT: ${{ secrets.BINANCE_RPC_ENDPOINT }} | ||
with: | ||
network-name: bsc | ||
|
||
verify-gnosis-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Gnosis Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
GNOSIS_RPC_ENDPOINT: ${{ secrets.GNOSIS_RPC_ENDPOINT }} | ||
with: | ||
network-name: gnosis | ||
|
||
verify-avalanche-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Avalanche Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
AVALANCHE_RPC_ENDPOINT: ${{ secrets.AVALANCHE_RPC_ENDPOINT }} | ||
with: | ||
network-name: avalanche | ||
|
||
verify-zkevm-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Polygon-ZkEvm Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
ZKEVM_RPC_ENDPOINT: ${{ secrets.ZKEVM_RPC_ENDPOINT }} | ||
with: | ||
network-name: zkevm | ||
|
||
verify-goerli-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Goerli Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
GOERLI_RPC_ENDPOINT: ${{ secrets.GOERLI_RPC_ENDPOINT }} | ||
with: | ||
network-name: goerli | ||
|
||
verify-sepolia-timelock-authorizer-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify Sepolia Timelock Authorizer Configuration | ||
uses: ./.github/actions/verify-network-timelock-authorizer-config | ||
env: | ||
SEPOLIA_RPC_ENDPOINT: ${{ secrets.SEPOLIA_RPC_ENDPOINT }} | ||
with: | ||
network-name: sepolia | ||
|
||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.