Skip to content

Holesky Deployment and Github Actions #1

Holesky Deployment and Github Actions

Holesky Deployment and Github Actions #1

Workflow file for this run

name: Foundry Build CI/CD

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Foundry Build CI/CD

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml: The value '0x4052beb38db7869b15596d53c2d5c02c9307faffca9215e69b0f0d0e1812a6c2' on line 12 and column 18 is invalid for the type 'tag:yaml.org,2002:int'
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DCAP_IMAGE_ID: 0x4052beb38db7869b15596d53c2d5c02c9307faffca9215e69b0f0d0e1812a6c2
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Run snapshot and Generate Summary
run: NO_COLOR=1 forge snapshot --gas-report >> $GITHUB_STEP_SUMMARY