Skip to content

chore(core): set msrv to 1.49 #172

chore(core): set msrv to 1.49

chore(core): set msrv to 1.49 #172

Workflow file for this run

name: CI
on: [push, pull_request]
env:
minrust: 1.56.0
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- run: cargo test --workspace
- if: matrix.rust == 'nightly'
run: cargo test --benches
- name: Check minimal versions
if: matrix.rust == 'nightly'
run: |
cargo clean
cargo update -Z minimal-versions
cargo check
- run: cargo fmt --all --check
MSRV:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack --rust-version --no-dev-deps check --workspace