Skip to content

Merge pull request #240 from morpho-labs/feat/improve-ci #5

Merge pull request #240 from morpho-labs/feat/improve-ci

Merge pull request #240 from morpho-labs/feat/improve-ci #5

Workflow file for this run

name: Formatting
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Linter
run: yarn lint