Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set MSRV and add CI job to check it #19

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ on:
- cron: '0 0 * * 4'

jobs:
msrv:
name: MSRV
runs-on: ubuntu-latest
env:
rust_ver: "1.56"
steps:
- name: Checkout sources
uses: actions/checkout@v3
- run: rustup toolchain install $rust_ver --profile minimal --no-self-update
- run: rustup default $rust_version
- uses: Swatinem/rust-cache@v2
- run: cargo test

check:
name: Check
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ keywords = ["ucs2", "no-std", "encoding"]
categories = ["encoding", "no-std"]
license = "MPL-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
bit_field = "0.10"
Expand Down