Skip to content

feat: add basic types to pointer casting (#198) #396

feat: add basic types to pointer casting (#198)

feat: add basic types to pointer casting (#198) #396

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
tests:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Huff
uses: huff-language/huff-toolchain@v2
with:
version: nightly
- name: Install Fe
run: |
curl -L https://github.com/ethereum/fe/releases/download/v0.24.0/fe_amd64 -o /usr/local/bin/fe -s
chmod +x /usr/local/bin/fe
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Print forge version
run: forge --version
- name: Check formatting
run: forge fmt --check