Skip to content

Commit

Permalink
ci: check msrv (extendr#569)
Browse files Browse the repository at this point in the history
* ci: check msrv

* chore: set msrv of extendr-api to 1.60 (checked by cargo-msrv)
  • Loading branch information
eitsupi authored Jul 2, 2023
1 parent dcbc870 commit 95cdee3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check MSRV
on:
push:
branches:
- master
paths:
- "**.rs"
- "**/Cargo.toml"
pull_request:
branches:
- master
paths:
- "**.rs"
- "**/Cargo.toml"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test-min-rust-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baptiste0928/cargo-install@v2
with:
crate: cargo-msrv
- name: Verify minimum rust version
run: cargo-msrv --path extendr-api/ verify
1 change: 1 addition & 0 deletions extendr-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ edition = "2021"
description = "Safe and user friendly bindings to the R programming language."
license = "MIT"
repository = "https://github.com/extendr/extendr"
rust-version = "1.60"

[dependencies]
libR-sys = "0.5.0"
Expand Down

0 comments on commit 95cdee3

Please sign in to comment.