Skip to content

Commit

Permalink
Changes:
Browse files Browse the repository at this point in the history
  - added `Cargo` check for all jobs.
  • Loading branch information
timmyjose committed Oct 4, 2023
1 parent f44cb1b commit 36de813
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
override: true

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Run Polylang Multi CPU benchmarks
working-directory: ./polylang
Expand Down Expand Up @@ -94,6 +97,9 @@ jobs:
override: true

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Run Miden Multi CPU benchmarks
working-directory: ./miden
Expand Down Expand Up @@ -134,6 +140,9 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Cache cargo bin
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -184,6 +193,9 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Install Nix
run: |
sh <(curl -L https://nixos.org/nix/install)
Expand Down Expand Up @@ -219,6 +231,9 @@ jobs:
override: true

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Run Leo benchmarks
working-directory: ./leo
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
uses: actions/checkout@v2

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Run Polylang benchmarks
working-directory: ./polylang
Expand All @@ -38,6 +41,9 @@ jobs:
uses: actions/checkout@v2

- uses: Swatinem/rust-cache@v2

- name: Cargo check
run: cargo check --all-targets

- name: Run Miden benchmarks
working-directory: ./miden
Expand All @@ -53,6 +59,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Cargo check
run: cargo check --all-targets

- uses: Swatinem/rust-cache@v2

- name: Cache cargo bin
Expand Down Expand Up @@ -80,6 +89,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Cargo check
run: cargo check --all-targets

- uses: Swatinem/rust-cache@v2

- name: Cache Nix packages
Expand Down Expand Up @@ -115,6 +127,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Cargo check
run: cargo check --all-targets

- uses: Swatinem/rust-cache@v2

- name: Run Leo benchmarks
Expand Down

0 comments on commit 36de813

Please sign in to comment.