Skip to content

Commit

Permalink
chore: updates zksync dep, and replaces vm with multivm crate (#199)
Browse files Browse the repository at this point in the history
* chore: update era test node to latest

* chore: cargo fmt

* chore: switch toolchain actions and use nightly

* chore: updates zks gas estimate

* chore: remove +stable for nexttest action

* chore: use larger runner

* debug: collect runner stats

* chore: invalidate cache to collect stats

* chore: remove default runner for 16core
  • Loading branch information
dutterbutter authored Oct 25, 2023
1 parent 0b4a200 commit e9c8ee0
Show file tree
Hide file tree
Showing 12 changed files with 644 additions and 375 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
Loading

0 comments on commit e9c8ee0

Please sign in to comment.