Skip to content

Reduce fees on mm deals #188

Reduce fees on mm deals

Reduce fees on mm deals #188

Workflow file for this run

name: Lint
on:
push:
branches: master
pull_request:
env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: "1.9.28"
RUST_TOOLCHAIN: stable
defaults:
run:
working-directory: ./
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v1
- name: Run fmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- --deny=warnings --allow=clippy::style --allow=clippy::complexity --allow=clippy::result_large_err --allow=ambiguous-glob-reexports
- name: Install eslint
run: yarn install
- name: Run ESLint on test code
run: yarn run eslint --ignore-path .gitignore --ext .js,.ts,.tsx tests/*