Skip to content

Auction Management

Auction Management #28

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Node dependencies
run: pnpm install
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-ca67d15f4abd46394b324c50e21e66f306a1162d
- name: Install Foundry dependencies
run: forge install
- name: Run lint check
run: pnpm run lint:check
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
pnpm run test
id: test