Skip to content

Commit

Permalink
Merge branch 'main' into nish-fix-170-upstream-1
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Oct 27, 2023
2 parents e74a37d + e9c8ee0 commit 666b021
Show file tree
Hide file tree
Showing 31 changed files with 1,635 additions and 400 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: dtolnay/rust-toolchain@stable
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2023-07-23
components: rustfmt, clippy

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- uses: actions/setup-node@v3
with:
node-version: 18.x
Expand All @@ -45,12 +42,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Rust Cache
uses: Swatinem/rust-cache@v2
toolchain: nightly-2023-07-23

- name: Build Code
run: make all
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,26 @@ on:
pull_request:
branches: [main]
workflow_dispatch:

jobs:
test:
name: unit-tests
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
platform: [macos-latest, ubuntu-22.04-github-hosted-16core]
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Cache Rust Dependencies
uses: Swatinem/rust-cache@v2
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2023-07-21

- name: Install cargo-nextest
run: cargo +stable install cargo-nextest
run: cargo install cargo-nextest

- name: Run tests
run: cargo nextest run
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ZKSYNC_HOME": "${workspaceFolder}"
},
"args": [
"--dev-use-local-contracts",
"--dev-system-contracts=local",
"run"
],
"preLaunchTask": "rebuild-contracts",
Expand Down
Loading

0 comments on commit 666b021

Please sign in to comment.