Skip to content

fix: Don't swap if offer_amount is zero #16

fix: Don't swap if offer_amount is zero

fix: Don't swap if offer_amount is zero #16

Workflow file for this run

name: Linting and formatting
on:
pull_request:
workflow_dispatch:
env:
RUSTFLAGS: -D warnings
jobs:
lint-and-format:
name: Lint and check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install cargo make
uses: davidB/rust-cargo-make@v1
- name: Install nightly toolchain
run: cargo make install-nightly
- name: Run cargo clippy
run: cargo make clippy-check
- name: Run cargo fmt
run: cargo make format-check
- name: Run cargo machete
run: cargo make machete-check
- name: Lint todo comments
run: cargo make todo-check