Skip to content

refactor: ci

refactor: ci #7

name: CI
on: [push]
jobs:
check-compilation:
name: Check Docker Compilation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build and validate
if: github.event_name == 'push'
run: |
make docker
docker run -v `pwd`:/build -w /build --rm -i eigenlayer-contracts:latest bash -c "make gha"
if [ ! -z "$(git status --porcelain)" ]; then git diff; git status; exit 1; fi