Skip to content

Commit

Permalink
(ci) add MSRV check
Browse files Browse the repository at this point in the history
uses cargo-msrv crate
  • Loading branch information
chrissimpkins committed Dec 17, 2023
1 parent 5889678 commit 9f6bfae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Min Supported Rust Version

on:
push:
branches: main
pull_request:

jobs:
msrv:
runs-on: ubuntu-latest
name: MSRV
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Install the latest stable Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install cargo msrv
run: cargo install cargo-msrv
- name: Verify MSRV
run: cargo msrv verify

0 comments on commit 9f6bfae

Please sign in to comment.