Skip to content

chore: update submodules and ci workflows (#21) #45

chore: update submodules and ci workflows (#21)

chore: update submodules and ci workflows (#21) #45

Workflow file for this run

name: exploit
on: push
env:
PNPM_VERSION: '8'
NODE_VERSION: '20.9'
FOUNDRY_PROFILE: ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
exploit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install huff
uses: huff-language/huff-toolchain@v3
with:
version: nightly
- name: Display tool versions
run: |
forge --version
huffc --version
- name: Build contracts
run: pnpm run build
id: build
- name: Run exploits
run: pnpm run exploits
id: test