Skip to content

Commit

Permalink
Merge pull request #4 from chrissimpkins/min-rust-version
Browse files Browse the repository at this point in the history
Add MSRV
  • Loading branch information
chrissimpkins authored Dec 17, 2023
2 parents 59e2f38 + 9f6bfae commit 04770fc
Show file tree
Hide file tree
Showing 2 changed files with 21 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
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ TODO
documentation = "https://github.com/chrissimpkins/size"
homepage = "https://github.com/chrissimpkins/size"
repository = "https://github.com/chrissimpkins/size"
rust-version = "1.70.0"

[[bin]]
name = "siz"
Expand Down

0 comments on commit 04770fc

Please sign in to comment.