Skip to content

Merge pull request #135 from 0xDaizz/main #448

Merge pull request #135 from 0xDaizz/main

Merge pull request #135 from 0xDaizz/main #448

Workflow file for this run

name: ci
on: [push]
jobs:
check:
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: Run Forge build
run: forge --version && forge build --sizes
id: build
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: Run Forge tests
run: forge test -vvv
id: test
huff-tests:
name: Tests in Huff
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: Huff Tests
uses: huff-language/huff-tests-action@v3
with:
with-location: "src"
with-extension: "*.huff"
with-format: "table"