Skip to content

Commit

Permalink
fix(ci): Conditional to build contracts in new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
artmakh committed Oct 16, 2024
1 parent 72300e2 commit a4a8405
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/new-build-contract-verifier-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/new-build-core-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit a4a8405

Please sign in to comment.