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

Bump version to 20.3.1 #1224

Merged
merged 7 commits into from
Feb 6, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: rustup install nightly-2024-02-03
- uses: stellar/binaries@v15
with:
name: cargo-fuzz
Expand All @@ -148,15 +148,16 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
# TODO: Upgrade to latest nightly after problem that was introduced in nightly-2024-02-05 (https://github.com/dalek-cryptography/curve25519-dalek/issues/618) is resolved.
- run: rustup install nightly-2024-02-03
Comment on lines -151 to +152
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would appear that one of the deps does not build on the latest nightly, nightly-2024-02-05. I opened an issue here on the respective lib, although unclear to me if this is an issue with rustc or the lib:

- run: make doc

readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: rustup install nightly-2024-02-03
- run: make readme
- run: git add -N . && git diff HEAD --exit-code

Expand Down
48 changes: 24 additions & 24 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ members = [
]

[workspace.package]
version = "20.3.0"
version = "20.3.1"
rust-version = "1.74.0"

[workspace.dependencies]
soroban-sdk = { version = "20.3.0", path = "soroban-sdk" }
soroban-sdk-macros = { version = "20.3.0", path = "soroban-sdk-macros" }
soroban-spec = { version = "20.3.0", path = "soroban-spec" }
soroban-spec-rust = { version = "20.3.0", path = "soroban-spec-rust" }
soroban-ledger-snapshot = { version = "20.3.0", path = "soroban-ledger-snapshot" }
soroban-token-sdk = { version = "20.3.0", path = "soroban-token-sdk" }
soroban-sdk = { version = "20.3.1", path = "soroban-sdk" }
soroban-sdk-macros = { version = "20.3.1", path = "soroban-sdk-macros" }
soroban-spec = { version = "20.3.1", path = "soroban-spec" }
soroban-spec-rust = { version = "20.3.1", path = "soroban-spec-rust" }
soroban-ledger-snapshot = { version = "20.3.1", path = "soroban-ledger-snapshot" }
soroban-token-sdk = { version = "20.3.1", path = "soroban-token-sdk" }

[workspace.dependencies.soroban-env-common]
version = "=20.2.0"
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ CARGO_DOC_ARGS?=--open

doc: fmt
cargo test --doc -p soroban-sdk -p soroban-sdk-macros --features testutils
cargo +nightly doc -p soroban-sdk --no-deps --features docs,testutils $(CARGO_DOC_ARGS)
# TODO: Upgrade to latest nightly after problem that was introduced in nightly-2024-02-05 (https://github.com/dalek-cryptography/curve25519-dalek/issues/618) is resolved.
cargo +nightly-2024-02-03 doc -p soroban-sdk --no-deps --features docs,testutils $(CARGO_DOC_ARGS)

test: fmt build
cargo hack --feature-powerset --ignore-unknown-features --features testutils --exclude-features docs test
Expand All @@ -23,11 +24,11 @@ check: build fmt
cargo hack check --release --target wasm32-unknown-unknown

build-fuzz:
cd tests/fuzz/fuzz && cargo +nightly fuzz check
cd tests/fuzz/fuzz && cargo +nightly-2024-02-03 fuzz check

readme:
cd soroban-sdk \
&& cargo +nightly rustdoc -- -Zunstable-options -wjson \
&& cargo +nightly-2024-02-03 rustdoc -- -Zunstable-options -wjson \
&& cat ../target/doc/soroban_sdk.json \
| jq -r '.index[.root].docs' \
> README.md
Expand All @@ -36,7 +37,7 @@ watch:
cargo watch --clear --watch-when-idle --shell '$(MAKE)'

watch-doc:
cargo +nightly watch --clear --watch-when-idle --shell '$(MAKE) doc CARGO_DOC_ARGS='
cargo +nightly-2024-02-03 watch --clear --watch-when-idle --shell '$(MAKE) doc CARGO_DOC_ARGS='

fmt:
cargo fmt --all
Expand Down
Loading