From a4a8405a1f2459e579e34289d0e0a88177a8c72b Mon Sep 17 00:00:00 2001 From: artmakh Date: Wed, 16 Oct 2024 17:53:45 +0700 Subject: [PATCH] fix(ci): Conditional to build contracts in new CI --- .../new-build-contract-verifier-template.yml | 20 ------------------- .github/workflows/new-build-core-template.yml | 20 ------------------- 2 files changed, 40 deletions(-) diff --git a/.github/workflows/new-build-contract-verifier-template.yml b/.github/workflows/new-build-contract-verifier-template.yml index 6e32070185b..9b23cda6f02 100644 --- a/.github/workflows/new-build-contract-verifier-template.yml +++ b/.github/workflows/new-build-contract-verifier-template.yml @@ -96,19 +96,6 @@ jobs: with: toolchain: nightly-2024-08-01 - - name: Install cargo-nextest from crates.io - if: env.BUILD_CONTRACTS == 'true' - uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1 - with: - crate: cargo-nextest - - - name: Install sqlx-cli from crates.io - if: env.BUILD_CONTRACTS == 'true' - uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1 - with: - crate: sqlx-cli - tag: 0.8.1 - - name: Install foundry-zksync if: env.BUILD_CONTRACTS == 'true' run: | @@ -137,13 +124,6 @@ jobs: chmod +x "./hardhat-nodejs/compilers-v2/$compiler/${compiler}-v${version}" done - - name: init - if: env.BUILD_CONTRACTS == 'true' - shell: bash - run: | - mkdir -p ./volumes/postgres - docker compose up -d postgres - - name: Install zkstack if: env.BUILD_CONTRACTS == 'true' run: | diff --git a/.github/workflows/new-build-core-template.yml b/.github/workflows/new-build-core-template.yml index 82d713ea2af..c4aeb9180fd 100644 --- a/.github/workflows/new-build-core-template.yml +++ b/.github/workflows/new-build-core-template.yml @@ -101,19 +101,6 @@ jobs: with: toolchain: nightly-2024-08-01 - - name: Install cargo-nextest from crates.io - if: env.BUILD_CONTRACTS == 'true' - uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1 - with: - crate: cargo-nextest - - - name: Install sqlx-cli from crates.io - if: env.BUILD_CONTRACTS == 'true' - uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1 - with: - crate: sqlx-cli - tag: 0.8.1 - - name: Install foundry-zksync if: env.BUILD_CONTRACTS == 'true' run: | @@ -142,13 +129,6 @@ jobs: chmod +x "./hardhat-nodejs/compilers-v2/$compiler/${compiler}-v${version}" done - - name: init - if: env.BUILD_CONTRACTS == 'true' - shell: bash - run: | - mkdir -p ./volumes/postgres - docker compose up -d postgres - - name: Install zkstack if: env.BUILD_CONTRACTS == 'true' run: |