From 2eaffa251a4b794859eba859801e8eecb9a2ae7a Mon Sep 17 00:00:00 2001 From: perekopskiy Date: Tue, 7 May 2024 15:20:40 +0300 Subject: [PATCH] release-please-update-cargo-lock --- .../workflows/release-please-cargo-lock.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release-please-cargo-lock.yml diff --git a/.github/workflows/release-please-cargo-lock.yml b/.github/workflows/release-please-cargo-lock.yml new file mode 100644 index 000000000000..7a3674eaa24d --- /dev/null +++ b/.github/workflows/release-please-cargo-lock.yml @@ -0,0 +1,30 @@ +on: + push: + branches: + - release-please--branches--main--components--core + - release-please-cargo-lock + +name: release-please-update-cargo-lock +jobs: + update_cargo_lock: + runs-on: [matterlabs-ci-runner] + + steps: + - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 + with: + submodules: "recursive" + + - name: Setup environment + run: | + echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV + echo $(pwd)/bin >> $GITHUB_PATH + echo IN_DOCKER=1 >> .env + + - name: Cargo check + run: ci_run cargo check + + - name: Push changes + run: + git add ./Cargo.lock + git commit -m "Update Cargo.lock" + git push \ No newline at end of file