chore: test the result is 42 #67
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: '9.9' | |
NODE_VERSION: '20.11' | |
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 |