Skip to content

Commit

Permalink
chore: Fix minimal versions (#920)
Browse files Browse the repository at this point in the history
* chore(build): Fix log minimal version

* chore: Add ci to check minimal versions

---------

Co-authored-by: Lucio Franco <[email protected]>
  • Loading branch information
tottoto and LucioFranco authored Feb 23, 2024
1 parent 0a64a09 commit 7f15b87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ jobs:
- name: test doc no-default-features
run: cargo test -p prost-build -p prost-derive -p prost-types --doc --no-default-features

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- run: cargo minimal-versions --no-private check --workspace --all-features

kani:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion prost-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cleanup-markdown = ["pulldown-cmark", "pulldown-cmark-to-cmark"]
bytes = { version = "1", default-features = false }
heck = "0.4"
itertools = { version = ">=0.10, <0.12", default-features = false, features = ["use_alloc"] }
log = "0.4"
log = "0.4.4"
multimap = { version = "0.8", default-features = false }
petgraph = { version = "0.6", default-features = false }
prost = { version = "0.12.3", path = "..", default-features = false }
Expand Down

0 comments on commit 7f15b87

Please sign in to comment.