Category: Integrations

GitHub Actions Integration

GitHub Action Workflows

EPIC provides a custom GitHub Action to validate compatibility checks in continuous integration pipelines. It automatically comments on PRs showing layout structure diff reports.

Example Configuration

Insert the following workflow inside .github/workflows/epic-gate.yml:

name: EPIC Upgrade Readiness Gate
on:
  pull_request:
    branches: [ main ]

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v3

      - name: Run EPIC CLI Gate
        uses: solana-epic/action@v1
        with:
          binary: target/deploy/vault.so
          expected-authority: ${{ secrets.MULTISIG_PDA }}