Skip to content

Clean incentives state when users unstake all LP #1597

Clean incentives state when users unstake all LP

Clean incentives state when users unstake all LP #1597

Workflow file for this run

name: Main
on:
push:
branches:
- master
- main
- release/neutron
pull_request:
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
# install a specific version of Go to satisfy osmosis-test-tube
- uses: actions/setup-go@v5
with:
go-version: '1.21.7'
- name: Install cargo make
uses: davidB/rust-cargo-make@v1
- name: Install stable Rust
run: cargo make install-stable
- name: Install nightly Rust
run: cargo make install-nightly
# selecting a toolchain should happen before the plugin, as the cache uses the current rustc version as its cache key
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo make fmt-check
- name: Clippy
run: cargo make clippy
- name: Audit dependencies
run: |
cargo install --locked cargo-audit
cargo make audit