mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 08:01:40 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user