Skip to content

Fixes YINE-c7850b7c-M02 and YINE-c7850b7c-M07 #572

Fixes YINE-c7850b7c-M02 and YINE-c7850b7c-M07

Fixes YINE-c7850b7c-M02 and YINE-c7850b7c-M07 #572

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt
- name: Run Forge build
run: |
forge build --sizes --skip DeployFactory.sol
id: build
- name: Run Forge Unit tests
env:
FOUNDRY_PROFILE: default
run: |
forge test -vvv
id: test
- name: Run Forge Integration tests
env:
FOUNDRY_PROFILE: mainnet
BSCSCAN_API_KEY: invalid
BNB_MAINNET_RPC_URL: ${{ secrets.BNB_MAINNET_RPC_URL }}
run: |
forge test -vvv