Skip to content

Commit c6d8279

Browse files
test(ci): prepare apollo_starknet_os_program for publishing
1 parent 67bf78b commit c6d8279

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ apollo_reverts.path = "crates/apollo_reverts"
128128
apollo_rpc.path = "crates/apollo_rpc"
129129
apollo_rpc_execution.path = "crates/apollo_rpc_execution"
130130
apollo_starknet_client.path = "crates/apollo_starknet_client"
131-
apollo_starknet_os_program.path = "crates/apollo_starknet_os_program"
131+
apollo_starknet_os_program = { path = "crates/apollo_starknet_os_program", version = "0.15.0-rc.0" }
132132
apollo_state_reader.path = "crates/apollo_state_reader"
133133
apollo_state_sync.path = "crates/apollo_state_sync"
134134
apollo_state_sync_metrics.path = "crates/apollo_state_sync_metrics"

workspace_tests/version_integrity_test.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ use toml_test_utils::{
1111
};
1212

1313
const PARENT_BRANCH: &str = include_str!("../scripts/parent_branch.txt");
14-
const MAIN_PARENT_BRANCH: &str = "main";
14+
const MAIN_BRANCH: &str = "main";
1515
const EXPECTED_MAIN_VERSION: &str = "0.0.0";
1616

1717
static ROOT_CRATES_FOR_PUBLISH: LazyLock<HashSet<&str>> =
18-
LazyLock::new(|| HashSet::from(["blockifier"]));
18+
LazyLock::new(|| HashSet::from(["blockifier", "apollo_starknet_os_program"]));
1919
static CRATES_FOR_PUBLISH: LazyLock<HashSet<String>> = LazyLock::new(|| {
2020
let publish_deps: HashSet<String> = ROOT_CRATES_FOR_PUBLISH
2121
.iter()
@@ -224,12 +224,12 @@ fn test_no_features_in_workspace() {
224224

225225
#[test]
226226
fn test_main_branch_is_versionless() {
227-
if PARENT_BRANCH.trim() == MAIN_PARENT_BRANCH {
227+
if PARENT_BRANCH.trim() == MAIN_BRANCH {
228228
let workspace_version = ROOT_TOML.workspace_version();
229229
assert_eq!(
230230
workspace_version, EXPECTED_MAIN_VERSION,
231231
"The workspace version should be '{EXPECTED_MAIN_VERSION}' when the parent branch is \
232-
'{MAIN_PARENT_BRANCH}'; found {workspace_version}.",
232+
'{MAIN_BRANCH}'; found {workspace_version}.",
233233
);
234234
}
235235
}

0 commit comments

Comments
 (0)