Skip to content

Merge pull request #132 from zerodevapp/release/v3.3 #150

Merge pull request #132 from zerodevapp/release/v3.3

Merge pull request #132 from zerodevapp/release/v3.3 #150

Workflow file for this run

name: ci
on:
pull_request:
branches: [dev,fix/ci]
paths:
- '**.sol'
- '**.yml'
push:
branches: [dev,fix/ci]
paths:
- '**.sol'
- '**.yml'
jobs:
tests:
name: Forge Testing
runs-on: ubuntu-latest
env:
FOUNDRY_DISABLE_NIGHTLY_WARNING: true
strategy:
matrix:
profile: [post-prague,post-prague-via-ir,via-ir,min-solc,min-solc-via-ir]
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Dependencies
run: forge install
- name: show list
run: ls
- name : pwd
run: pwd
- name: Run Tests with ${{ matrix.profile }}
run: >
( [ "${{ matrix.profile }}" = "post-prague" ] &&
forge test --use 0.8.28 --evm-version "prague"
) ||
( [ "${{ matrix.profile }}" = "post-prague-via-ir" ] &&
forge test --use 0.8.28 --evm-version "prague" --via-ir
) ||
( [ "${{ matrix.profile }}" = "via-ir" ] &&
forge test --via-ir
) ||
( [ "${{ matrix.profile }}" = "min-solc" ] &&
forge fmt --check &&
forge test --use 0.8.28
) ||
( [ "${{ matrix.profile }}" = "min-solc-via-ir" ] &&
forge test --use 0.8.28 --via-ir
)
codespell:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run codespell
uses: codespell-project/[email protected]
with:
check_filenames: true
ignore_words_list: usera
skip: ./.git,package-lock.json,ackee-blockchain-solady-report.pdf,EIP712Mock.sol,yarn.lock