chore: update submodules and ci workflows (#21) #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |