refactor: converge portfolio risk and venue integrations #22
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: Contract version check | |
| on: | |
| pull_request: | |
| paths: | |
| - "contracts/contracts/CollateralVault.sol" | |
| - "contracts/contracts/PortfolioMarginEngine.sol" | |
| jobs: | |
| version-bump: | |
| name: Verify VERSION was bumped | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check CollateralVault VERSION | |
| run: | | |
| bash scripts/check-version-bump.sh \ | |
| contracts/contracts/CollateralVault.sol \ | |
| ${{ github.event.pull_request.base.sha }} \ | |
| ${{ github.event.pull_request.head.sha }} | |
| - name: Check PortfolioMarginEngine VERSION | |
| run: | | |
| bash scripts/check-version-bump.sh \ | |
| contracts/contracts/PortfolioMarginEngine.sol \ | |
| ${{ github.event.pull_request.base.sha }} \ | |
| ${{ github.event.pull_request.head.sha }} |