File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1717
1818jobs :
1919
20+ # Build and test before deploying.
21+ ci :
22+ uses : ./.github/workflows/main.yml
23+ with :
24+ SEPOLIA_RPC_URL : ${{ vars.SEPOLIA_RPC_URL }}
25+ ARBITRUM_SEPOLIA_RPC_URL : ${{ vars.ARBITRUM_SEPOLIA_RPC_URL }}
26+
2027 # Build and test before deploying.
2128 ci :
2229 uses : ./.github/workflows/main.yml
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ name: Default
33on :
44 pull_request :
55 workflow_call :
6- secrets :
6+ inputs :
77 SEPOLIA_RPC_URL :
88 required : true
9+ type : string
910 ARBITRUM_SEPOLIA_RPC_URL :
1011 required : true
12+ type : string
1113
1214concurrency :
1315 group : ${{ github.ref }}-ci
2022 build-and-test :
2123 name : Build and test
2224 runs-on : ubuntu-latest
23- environment : ' testnets'
2425 steps :
2526 - uses : actions/checkout@v4
2627 with :
4445 - name : Run Foundry coverage
4546 env :
4647 CI : true
47- SEPOLIA_RPC_URL : ${{ secrets .SEPOLIA_RPC_URL }}
48- ARBITRUM_SEPOLIA_RPC_URL : ${{ secrets .ARBITRUM_SEPOLIA_RPC_URL }}
48+ SEPOLIA_RPC_URL : ${{ inputs.SEPOLIA_RPC_URL || vars .SEPOLIA_RPC_URL }}
49+ ARBITRUM_SEPOLIA_RPC_URL : ${{ inputs.ARBITRUM_SEPOLIA_RPC_URL || vars .ARBITRUM_SEPOLIA_RPC_URL }}
4950 run : make generate-coverage
5051
5152 - name : Upload coverage reports to Codecov
You can’t perform that action at this time.
0 commit comments