From bb9bfe3901b146a6fd05cc024c45da761948dd81 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Tue, 24 Sep 2024 18:31:21 +0300 Subject: [PATCH 1/3] Update workspace lockfile --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56b75e81..0408dc19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "zksync_vm2" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "arbitrary", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "zksync_vm2_afl_fuzz" -version = "0.1.0" +version = "0.2.0" dependencies = [ "afl", "arbitrary", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "zksync_vm2_interface" -version = "0.1.0" +version = "0.2.0" dependencies = [ "primitive-types", ] From 7c7fa8ff2eab34d5049a37f015a19b7941dc5dc7 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Tue, 24 Sep 2024 18:31:42 +0300 Subject: [PATCH 2/3] Ignore fuzzing crate --- .github/workflows/release-please.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 493f7253..17b2b0ee 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -58,7 +58,8 @@ jobs: run: cargo install cargo-workspaces - name: Build each package separately - run: cargo ws exec cargo build + # Ignore the fuzzing crate which requires a wrapper to build + run: cargo ws exec --ignore-private cargo build - name: Login to crates.io run: cargo login ${{ secrets.CRATES_IO_TOKEN }} From 9cf9a934b5816982e7658ba3629eb40c59395ca9 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Tue, 24 Sep 2024 18:37:29 +0300 Subject: [PATCH 3/3] Commit workspace lockfile when bumping versions --- .github/workflows/release-please-prepare-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please-prepare-branch.yml b/.github/workflows/release-please-prepare-branch.yml index f6ad8e56..aa431901 100644 --- a/.github/workflows/release-please-prepare-branch.yml +++ b/.github/workflows/release-please-prepare-branch.yml @@ -64,6 +64,6 @@ jobs: git config --global user.email "zksync-era-bot@users.noreply.github.com" git config --global user.name "zksync-era-bot" git remote set-url origin 'https://${{ secrets.RELEASE_TOKEN }}@github.com/matter-labs/vm2.git' - git add ./Cargo.toml + git add ./Cargo.toml ./Cargo.lock git commit -m "$EXPECTED_COMMIT_MESSAGE" git push