WIP: Read slot0 for Uniswap V3 from db for all pools #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.MAINNET_HTTP }} | |
MAINNET_WS: ${{ secrets.MAINNET_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 | |
- run: make swap-test-all | |
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 | |
deny: | |
if: github.repository == 'dexloom/loom' | |
name: cargo deny check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
log-level: warn | |
command: check | |
arguments: --all-features |