Skip to content

Commit

Permalink
Setup CI for cargo msrv.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Jul 31, 2023
1 parent 0fb6b6d commit fea254d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,26 @@ jobs:
cargo install cargo-tarpaulin
./tools/codecov.sh --xml
bash <(curl -s https://codecov.io/bash)
msrv:
runs-on: ubuntu-latest

steps:
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
default: true

- name: Install cargo plugins
run: |
cargo install cargo-msrv
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Check the minimum supported rust version
run: cargo msrv verify
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "1.0.1-pre"
authors = ["Diogo Sousa <diogogsousa@gmail.com>"]

edition = "2021"
rust-version = "1.56.0"
rust-version = "1.60.0"

homepage = "https://github.com/orium/archery"
repository = "https://github.com/orium/archery"
Expand Down

0 comments on commit fea254d

Please sign in to comment.