Skip to content

chore: threshold should be algebraic data type #31

chore: threshold should be algebraic data type

chore: threshold should be algebraic data type #31

Workflow file for this run

name: Continuous Integration Checks
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest ]
toolchain: [ 1.70.0 ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Install Rust ${{ matrix.toolchain }} toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
rustup override set ${{ matrix.toolchain }}
- name: Build on Rust ${{ matrix.toolchain }}
run: cargo build --verbose --color always
- name: Check formatting
run: rustup component add rustfmt && cargo fmt --all -- --check
- name: Test ${{ matrix.toolchain }}
run: cargo test --verbose --color always