Skip to content

new deployment

new deployment #646

Workflow file for this run

name: test
on:
push:
branches: [main]
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
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build
id: build
- name: Run Forge tests
run: |
forge test --deny-warnings -vvv
id: test
lint:
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
name: Code linting
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: ./package-lock.json
- run: npm install
- run: npm run lint
- run: npm run fmt:check
- run: npm run lintjs