Skip to content

build: Increase optimizer_runs to 10000 in config #58

build: Increase optimizer_runs to 10000 in config

build: Increase optimizer_runs to 10000 in config #58

Workflow file for this run

# .github/workflows/ci.yml
name: Foundry PR Check
on:
pull_request:
branches: [main, master]
permissions:
contents: read
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build-and-deploy:
name: Build & Deploy (deterministic)
runs-on: ubuntu-latest
env:
CI: true
POLYGON_MAINNET_RPC_URL: ${{ secrets.POLYGON_MAINNET_RPC_URL }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
AWS_KMS_KEY_ID: ${{ secrets.KMS_KEY_ID }}
AWS_ROLE_TO_ASSUME: ${{ secrets.AWS_ROLE_TO_ASSUME }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # Need full history for reference builds
- name: Install Just
uses: extractions/setup-just@v2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.AWS_ROLE_TO_ASSUME }}
aws-region: "us-east-1"
- name: Build
run: just build
- name: Deploy (deterministic, create2)
run: just deploy