Skip to content

Release v2.2.0

Release v2.2.0 #1295

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, reopened, edited, synchronize]
branches: ["main", "develop", "release*", "spearbit*"]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
- uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Lint contracts
run: yarn lint-solidity
- name: Lint tests
run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Compile contracts
run: yarn compile
- name: Run tests
run: yarn test