Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Jan 31, 2025
1 parent 9375d17 commit 6cd329f
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 81 deletions.
117 changes: 58 additions & 59 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
env:
CARGO_TERM_COLOR: always
jobs:

phylum-analyze:
if: ${{ github.event.pull_request }}
uses: radixdlt/public-iac-resuable-artifacts/.github/workflows/phylum-analyze.yml@main
Expand All @@ -29,70 +28,70 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt, clippy
- name: Install cargo nextest
uses: RDXWorks-actions/cargo-install@v1
with:
crate: cargo-nextest
locked: true
- name: Install JNA
run: wget https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar
- name: Run sccache-cache
uses: RDXWorks-actions/sccache-action@main
- name: Install Golang & uniffi-bindgen-go
run: |
wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
printf '\nexport PATH=$PATH:/usr/local/go/bin' >> $HOME/.profile
source $HOME/.profile
cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0
- name: Run tests
run: CLASSPATH="$PWD/jna-5.13.0.jar" cargo nextest run
env:
# Required env-var to increase the heapsize when using `kotlinc`.
JAVA_OPTS: "-Xmx8g"
# Enable sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt, clippy
- name: Install cargo nextest
uses: RDXWorks-actions/cargo-install@v1
with:
crate: cargo-nextest
locked: true
- name: Install JNA
run: wget https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar
- name: Run sccache-cache
uses: RDXWorks-actions/sccache-action@main
- name: Install Golang & uniffi-bindgen-go
run: |
wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
printf '\nexport PATH=$PATH:/usr/local/go/bin' >> $HOME/.profile
source $HOME/.profile
cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0
- name: Run tests
run: CLASSPATH="$PWD/jna-5.13.0.jar" cargo nextest run
env:
# Required env-var to increase the heapsize when using `kotlinc`.
JAVA_OPTS: "-Xmx8g"
# Enable sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt
- name: Check formatting
run: cargo fmt --check
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt
- name: Check formatting
run: cargo fmt --check
cargo-check:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
profile: minimal
- name: Cargo Check
run: cargo check --all
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
profile: minimal
- name: Cargo Check
run: cargo check --all
clippy-check:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt, clippy
- name: Clippy Check
run: cargo clippy --all
- uses: RDXWorks-actions/checkout@main
- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: stable
default: true
components: rustfmt, clippy
- name: Clippy Check
run: cargo clippy --all
8 changes: 4 additions & 4 deletions Cargo.lock

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

6 changes: 4 additions & 2 deletions crates/generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "generator"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"

[dependencies]
Expand All @@ -25,7 +25,9 @@ serde_yaml = { version = "0.9.21" }
serde_json = { version = "1.0.96", features = ["preserve_order"] }
serde_with = { version = "3.0.0", features = ["hex"] }
schemars = { version = "0.8.12", features = ["preserve_order"] }
rocket_okapi = { git = "https://github.com/0xOmarA/okapi", tag = "0.8.0-rc.4", features = ["preserve_order"] }
rocket_okapi = { git = "https://github.com/0xOmarA/okapi", tag = "0.8.0-rc.4", features = [
"preserve_order",
] }

# Used to change the casing of strings
heck = { version = "0.4.1" }
Expand Down
2 changes: 1 addition & 1 deletion crates/radix-engine-toolkit-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "radix-engine-toolkit-json"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/radix-engine-toolkit-uniffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "radix-engine-toolkit-uniffi"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"
build = "build.rs"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import com.radixdlt.ret.*;
val information = getBuildInformation();

// Assert
assert(information.version == "2.2.2-dev1");
assert(information.version == "2.2.3");
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
build_info = get_build_information()

# Assert
assert build_info.version == "2.2.2-dev1"
assert build_info.version == "2.2.3"
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ do {
let buildInformation = radix_engine_toolkit_uniffi.getBuildInformation()

// Assert
assert(buildInformation.version == "2.2.2-dev1")
assert(buildInformation.version == "2.2.3")
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
func TestRetVersion(t *testing.T) {
var buildInfo = radix_engine_toolkit_uniffi.GetBuildInformation()

if buildInfo.Version != "2.2.2-dev1" {
if buildInfo.Version != "2.2.3" {
t.Fatalf("Wrong RET version: %s", buildInfo.Version)
}
}
Expand Down
8 changes: 4 additions & 4 deletions crates/radix-engine-toolkit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "radix-engine-toolkit"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"
build = "build.rs"

Expand All @@ -27,20 +27,20 @@ paste = { workspace = true }

# The serde-json dependency without the serde dependency. This is used for the
# SBOR serialization in the `scrypto_sbor.rs` and `manifest_sbor.rs` modules and
# ONLY there.
# ONLY there.
serde_json = { workspace = true, features = ["preserve_order"] }
serde_with = { workspace = true }

# Used by the radix engine toolkit logic for extracting the network id from the
# address strings. Pretty much used to get the network specifier from the HRP.
regex = { workspace = true }

# A crate that implements the various sbor-json formats and is used in here
# A crate that implements the various sbor-json formats and is used in here
# for the serialization of the payloads.
sbor-json = { workspace = true }

# A crate we use to extend types defined outside of this crate. We use this to
# implement methods on types when we're supposed not to be able to due to the
# implement methods on types when we're supposed not to be able to due to the
# same crate rules that Rust has.
extend = { workspace = true }

Expand Down
8 changes: 4 additions & 4 deletions crates/sbor-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sbor-json"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"
description = "The implementation of the SBOR JSON representations"

Expand All @@ -12,9 +12,9 @@ radix-engine-interface = { workspace = true }

# The serde dependencies used for the serialization and deserialization of the
# JSON representations.
serde = { workspace = true , features = ["derive"] }
serde_json = { workspace = true , features = ["preserve_order"] }
serde_with = { workspace = true , features = ["hex"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] }
serde_with = { workspace = true, features = ["hex"] }

# Additional dependencies
regex = { workspace = true }
Expand Down
6 changes: 4 additions & 2 deletions crates/uniffi-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "uniffi-bindgen"
version = "2.2.2-dev1"
version = "2.2.3"
edition = "2021"

[dependencies]
uniffi = { git = "https://github.com/0xOmarA/uniffi-rs", tag = "v0.25.4", features = ["cli"] }
uniffi = { git = "https://github.com/0xOmarA/uniffi-rs", tag = "v0.25.4", features = [
"cli",
] }

0 comments on commit 6cd329f

Please sign in to comment.