substack 1.1.1

Stackbound iterable linked list for heap-free recursive algorithms
Documentation
name: Rust

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Install rust toolchain
      run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
    - name: Add nightly
      run: $HOME/.cargo/bin/rustup toolchain install nightly
    - name: Build
      run: $HOME/.cargo/bin/cargo build --verbose
    - name: Run tests
      run: $HOME/.cargo/bin/cargo test --verbose
    - name: Clippy
      run: $HOME/.cargo/bin/cargo clippy
    - name: Formatting
      run: $HOME/.cargo/bin/cargo +nightly fmt --check