Skip to content

Get OP sepolia validation passing #27

Get OP sepolia validation passing

Get OP sepolia validation passing #27

Workflow file for this run

name: Validate modified chains
on:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
golang-validate-modified:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # Ensure the full history is fetched
- name: Fetch base branch
run: |
git fetch origin ${{ github.event.pull_request.base.sha }}
- name: "Install just"
run: |
wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
sudo apt update
sudo apt install just
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run validation checks
env:
CI_MAINNET_RPC: ${{ secrets.CI_MAINNET_RPC }}
CI_SEPOLIA_RPC: ${{ secrets.CI_SEPOLIA_RPC }}
run: |
just validate-modified-chains ${{ github.event.pull_request.base.sha }} # TODO ideally use the base branch