Skip to content

Commit

Permalink
chore(ci): add MSRV check
Browse files Browse the repository at this point in the history
Closes #32.
  • Loading branch information
jeertmans committed Jan 31, 2024
1 parent 8d15432 commit 21e0ac7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rustmsrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Check that minimum Rust supported version compiles this project
name: MSRV check

on:
pull_request:
paths:
- '**.rs'
- Cargo.toml
workflow_dispatch:

jobs:
msrv_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install Cargo MSRV
kuses: taiki-e/install-action@v2
with:
tool: cargo-msrv

- name: Check MSRV
run: cargo msrv verify -- cargo check --all-features
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name = "differt"
[package]
edition = "2021"
name = "_core"
rust-version = "1.63.0"
version = "0.0.6"

[profile.bench]
Expand Down

0 comments on commit 21e0ac7

Please sign in to comment.