Skip to content

WIP: Read slot0 for Uniswap V3 from db for all pools #23

WIP: Read slot0 for Uniswap V3 from db for all pools

WIP: Read slot0 for Uniswap V3 from db for all pools #23

Workflow file for this run

name: Loom
on:
push:
branches:
- main
pull_request_target:
types: [opened,synchronize,reopened]
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
test:
if: github.repository == 'dexloom/loom'
name: make test
runs-on: ubuntu-latest
env:
MAINNET_HTTP: ${{ secrets.SECRET_NODE_HTTP }}
MAINNET_WS: ${{ secrets.SECRET_NODE_WS }}
RUST_LOG: info
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: 'echo "pub const KEY_ENCRYPTION_PWD: [u8; 16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];" > crates/defi-entities/src/private.rs'
- run: make test
fmt:
if: github.repository == 'dexloom/loom'
name: make fmt-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: 'echo "pub const KEY_ENCRYPTION_PWD: [u8; 16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];" > crates/defi-entities/src/private.rs'
- run: make fmt-check
clippy:
if: github.repository == 'dexloom/loom'
name: make clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
- run: 'echo "pub const KEY_ENCRYPTION_PWD: [u8; 16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];" > crates/defi-entities/src/private.rs'
- run: make clippy