Fix ChainlinkVRFCoordinatorV2_5Adapter to prevent unauthorised access to requestSubscriptionOwnerTransfer and send subscription balance to subscription id owner #424
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| foundry: | |
| strategy: | |
| fail-fast: true | |
| name: Foundry project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Show Forge version | |
| run: forge --version | |
| - name: Install soldeer dependencies | |
| run: forge soldeer install | |
| - name: Run Forge fmt | |
| run: forge fmt --check | |
| id: fmt | |
| - name: Run Forge build | |
| run: forge build --sizes | |
| id: build | |
| - name: Run Forge tests | |
| run: forge test -vvv | |
| id: test | |
| hardhat: | |
| needs: foundry | |
| runs-on: ubuntu-latest | |
| name: Hardhat tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install soldeer dependencies | |
| run: forge soldeer install | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build project | |
| run: npm run build | |
| - name: Run Hardhat tests | |
| run: npx hardhat test |