Skip to content

Commit

Permalink
fix msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminBrienen committed Nov 8, 2024
1 parent 5bf202e commit 40fddcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-msrv-${{ hashFiles('**/Cargo.toml') }}
- name: get MSRV
- name: Get minimum supported rust version
id: msrv
run: |
msrv=`cargo metadata --no-deps --format-version 1 | jq --raw-output '.packages[] | select(.name=="variadics_please") | .rust_version'`
Expand All @@ -313,7 +313,9 @@ jobs:
toolchain: ${{ steps.msrv.outputs.msrv }}
- name: Run cargo check
id: check
run: cargo check
run: |
echo 'If this fails, run `cargo msrv` and update the msrv in `Cargo.toml`.'
cargo check
- name: Save PR number
if: ${{ failure() && github.event_name == 'pull_request' && steps.check.conclusion == 'failure' }}
run: |
Expand Down
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/bevyengine/variadics_please"
repository = "https://github.com/bevyengine/variadics_please"
license = "MIT OR Apache-2.0"
keywords = ["bevy", "variadics", "docs"]
rust-version = "1.65.0"
rust-version = "1.81.0"
categories = ["macros", "utilities"]
exclude = ["tools/", ".github/"]
documentation = "https://docs.rs/variadics_please"
Expand All @@ -26,7 +26,7 @@ proc-macro2 = "1.0"

[workspace]
exclude = ["benches", "compile_fail", "tools/compile_fail_utils"]
members = ["errors"]
members = ["errors", ".", "benches"]

[workspace.lints.clippy]
doc_markdown = "warn"
Expand Down Expand Up @@ -59,7 +59,6 @@ unused_qualifications = "warn"
name = "all_tuples"
path = "examples/demonstrations/all_tuples.rs"
doc-scrape-examples = true
wasm = true

[package.metadata.example.all_tuples]
name = "all_tuples"
Expand Down

0 comments on commit 40fddcd

Please sign in to comment.