ndarray-stats 0.7.0

Statistical routines for the n-dimensional array data structures provided by ndarray.
Documentation
name: Check Latest Dependencies
on:
  schedule:
    # Chosen so that it runs right before the international date line experiences the weekend.
    # Since we're open source, that means globally we should be aware of it right when we have the most
    # time to fix it.
    #
    # Sorry if this ruins your weekend, future maintainer...
    - cron: '0 12 * * FRI'
  workflow_dispatch: # For running manually
  pull_request:
    paths:
      - '.github/workflows/latest-deps.yaml'

env:
  CARGO_TERM_COLOR: always
  HOST: x86_64-unknown-linux-gnu
  RUSTFLAGS: "-D warnings"
  MSRV: 1.65.0

jobs:
  latest_deps_stable:
    runs-on: ubuntu-latest
    name: Check Latest Dependencies on Stable
    steps:
      - name: Check Out Repo
        uses: actions/checkout@v4
      - name: Install Rust
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: stable
      - name: Setup Mold Linker
        uses: rui314/setup-mold@v1
      - name: Setup Rust Cache
        uses: Swatinem/rust-cache@v2
      - name: Install nextest
        uses: taiki-e/install-action@nextest
      - name: Ensure latest dependencies
        run: cargo update
      - name: Run Tests
        run: cargo nextest run

  latest_deps_msrv:
    runs-on: ubuntu-latest
    name: Check Latest Dependencies on MSRV
    steps:
      - name: Check Out Repo
        uses: actions/checkout@v4
      - name: Install Stable Rust for Update
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: stable
      - name: Setup Mold Linker
        uses: rui314/setup-mold@v1
      - name: Setup Rust Cache
        uses: Swatinem/rust-cache@v2
      - name: Install nextest
        uses: taiki-e/install-action@nextest
      - name: Ensure latest dependencies
        # The difference is here between this and `latest_deps_stable`
        run: CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS="fallback" cargo update
      - name: Install MSRV Rust for Test
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: ${{ env.MSRV }}
      - name: Run Tests
        run: cargo nextest run