feat(ci): Add MSRV check

This adds a basic MSRV check.  The chosen MSRV copies the one used by
deltachat at the moment.
This commit is contained in:
Floris Bruynooghe
2023-01-30 10:35:21 +01:00
parent 53ab7196a5
commit 2a6226376d
2 changed files with 19 additions and 0 deletions
+16
View File
@@ -157,3 +157,19 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets
msrv:
name: Minimal Supported Rust Version
runs-on: ubuntu-latest
env:
MSRV: "1.63"
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: "${{ MSRV }}"
override: true
- name: Check MSRV all features
run: |
cargo +$MSRV check --workspace --all-targets --all-features
+3
View File
@@ -7,6 +7,9 @@ license = "MIT/Apache-2.0"
authors = ["dignifiedquire <me@dignifiedquire.com>"]
repository = "https://github.com/n0-computer/sendme"
# Sadly this also needs to be updated in .github/workflows/ci.yml
rust-version = "1.63"
[dependencies]
anyhow = { version = "1.0.68", features = ["backtrace"] }
bao = "0.12.1"