From 367d3f41771b70d4e333d849d675de124812bce8 Mon Sep 17 00:00:00 2001 From: Michael Uti Date: Thu, 1 Aug 2024 16:53:11 +0100 Subject: [PATCH] ci: fix --- .github/workflows/check_crate.yml | 5 +++-- .../rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md | 5 +++++ .../rust/ockam/ockam_rust_elixir_nifs/Cargo.toml | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md diff --git a/.github/workflows/check_crate.yml b/.github/workflows/check_crate.yml index b650520a884..2d2c7dd6d23 100644 --- a/.github/workflows/check_crate.yml +++ b/.github/workflows/check_crate.yml @@ -164,8 +164,9 @@ jobs: - name: Check Cargo.toml To Ensure That All 3rd Party Crates Have Specified Versions run: | set -ex + cargo install toml2json@1.3.1 - regex="^[\^|=]*[0-9]+(\.[0-9]+)*(\.[0-9]+)*$" + regex="^[\^|=]*[0-9]+(\.[0-9]+)*(\.[0-9]+)*" for crate in $(find implementations/rust/ockam -name Cargo.toml); do @@ -185,7 +186,7 @@ jobs: echo "crate_name: $crate_name" echo "version: $version" else - echo "No version found for $crate_name $version" + echo "No version found for $crate_name $version in crate $crate" exit 1 fi done diff --git a/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md b/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md new file mode 100644 index 00000000000..d6637e04998 --- /dev/null +++ b/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). diff --git a/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml b/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml index 708b305b470..ffb1bc177b9 100644 --- a/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml +++ b/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml @@ -37,10 +37,10 @@ rust-crypto = ["ockam_vault/rust-crypto"] hex = { version = "0.4", default-features = false } lazy_static = "1.5.0" minicbor = { version = "0.24.1", features = ["alloc", "derive"] } -ockam_core = { path = "../ockam_core", default-features = false, features = ["std"] } -ockam_identity = { path = "../ockam_identity", default-features = false, features = ["std", "software_vault"] } -ockam_vault = { path = "../ockam_vault", default-features = false, features = ["std", "storage"] } -ockam_vault_aws = { path = "../ockam_vault_aws" } +ockam_core = { path = "../ockam_core", default-features = false, features = ["std"], version = "^0.112.0" } +ockam_identity = { path = "../ockam_identity", default-features = false, features = ["std", "software_vault"], version = "^0.116.0" } +ockam_vault = { path = "../ockam_vault", default-features = false, features = ["std", "storage"], version = "^0.114.0" } +ockam_vault_aws = { path = "../ockam_vault_aws", version = "^0.40.0" } # Enable credentials-sso feature in ockam_vault_aws for use on sso environments (like dev machines) rustler = "0.33.0" time = "0.3.36"