Skip to content

chore: bump MSRV to 1.85.0 #91

chore: bump MSRV to 1.85.0

chore: bump MSRV to 1.85.0 #91

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- version: stable
- version: 1.85.0
features:
- --no-default-features --features miniscript/no-std
- --all-features
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust.version }}
- name: Pin dependencies for MSRV
if: matrix.rust.version == '1.85.0'
run: ./ci/pin-msrv.sh
- name: Build
run: cargo build --all-targets ${{ matrix.features }}
- name: Test
run: cargo test --no-fail-fast ${{ matrix.features }}
check-no-std:
name: Check no_std
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- name: Check no-std
run: cargo check --no-default-features --features miniscript/no-std
fmt-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Rust fmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -Dwarnings