Skip to content

Commit

Permalink
Merge pull request #392 from epage/msrv
Browse files Browse the repository at this point in the history
chore(ci): Ensure 'original' MSRV is verified
  • Loading branch information
epage authored Dec 14, 2022
2 parents 6de807a + 9ef6b85 commit 9a4e8e1
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.59.0" # MSRV
msrv = "1.48.0" # MSRV
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,22 @@ jobs:
- name: toml (preserve_order)
run: cargo test -p toml --features preserve_order
msrv:
name: "Check MSRV: 1.59.0"
name: "Check MSRV: 1.48.0"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.59.0 # MSRV
toolchain: 1.48.0 # MSRV
profile: minimal
override: true
- uses: Swatinem/rust-cache@v1
- name: Default features
run: cargo check --workspace --all-targets
- name: All features
run: cargo check --workspace --all-targets --all-features
- name: No-default features
run: cargo check --workspace --all-targets --no-default-features
docs:
name: Docs
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
target
Cargo.lock
114 changes: 114 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/toml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repository = "https://github.com/toml-rs/toml"
homepage = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/toml"
edition = "2018"
rust-version = "1.48.0"
include = [
"src/**/*",
"Cargo.toml",
Expand Down

0 comments on commit 9a4e8e1

Please sign in to comment.