Skip to content

Commit

Permalink
Test with minimal versions (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion authored Feb 18, 2023
1 parent 92a7a52 commit abef42b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/minimal-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: minimal-versions-build
on:
push:
branches: ["main"]
pull_request:
jobs:
minimal-versions-build:
name: Minimal versions build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Fetch toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Test with minimal versions
uses: actions-rs/cargo@v1
with:
command: test
args: -Z minimal-versions --manifest-path=num_enum/Cargo.toml
toolchain: nightly
8 changes: 4 additions & 4 deletions num_enum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ maintenance = { status = "passively-maintained" }
num_enum_derive = { version = "0.5.10", path = "../num_enum_derive", default-features = false }

[dev-dependencies]
anyhow = "1"
rustversion = "1.0"
trybuild = "1.0.31"
walkdir = "2.3.1"
anyhow = "1.0.14"
rustversion = "1"
trybuild = "1.0.49"
walkdir = "2"
2 changes: 1 addition & 1 deletion num_enum_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ features = ["external_doc"]
proc-macro2 = "1"
proc-macro-crate = { version = "1", optional = true }
quote = "1"
syn = { version = "1", features = ["parsing"] }
syn = { version = "1.0.15", features = ["parsing"] }

0 comments on commit abef42b

Please sign in to comment.