Secret vars #19
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 | |
environment: default | |
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 | |
environment: default | |
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 | |
environment: default | |
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 |