Skip to content

feat: bybit price

feat: bybit price #9

Workflow file for this run

env:
CARGO_INCREMENTAL: '0'
CARGO_NET_RETRY: '10'
RUSTUP_MAX_RETRIES: '10'
RUST_BACKTRACE: short
jobs:
doc:
env:
RUSTDOCFLAGS: -Dwarnings
if: needs.pre_ci.outputs.continue
name: Documentation
needs: pre_ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs
timeout-minutes: 45
miri:
if: needs.pre_ci.outputs.continue
name: Miri
needs: pre_ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri setup
- env:
MIRIFLAGS: -Zmiri-strict-provenance
run: cargo miri test
timeout-minutes: 45
pre_ci:
uses: valeratrades/.github/.github/workflows/pre_ci.yml@master
tests:
if: needs.pre_ci.outputs.continue
name: Rust ${{matrix.rust}}
needs: pre_ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- if: github.ref == 'refs/heads/release'
name: Set RUSTFLAGS for release branch
run: echo "RUSTFLAGS=-Dwarnings" >> $GITHUB_ENV
- if: matrix.rust == 'nightly'
name: Enable type layout randomization
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout\ --cfg=exhaustive >> $GITHUB_ENV
- run: cargo update
- run: cargo check
- run: cargo test
strategy:
fail-fast: false
matrix:
rust:
- nightly
- nightly-2024-10-10
timeout-minutes: 45
name: Errors
'on':
pull_request: {}
push: {}
workflow_dispatch: {}
permissions:
contents: read