Skip to content

Commit

Permalink
Update wasm-pack version (#1478)
Browse files Browse the repository at this point in the history
* Update wasm-pack version

* Update rust-toolchain for cairo 1 programs

* Update iai-callgrind-runner version

* Revert "Update iai-callgrind-runner version"

This reverts commit 254ad07.

* ci: move iai checkout to the top (#1481)

---------

Co-authored-by: Mario Rugiero <[email protected]>
  • Loading branch information
pefontana and Oppen authored Nov 14, 2023
1 parent 22f08f5 commit 74fa49a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cairo_1_programs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.69.0
uses: dtolnay/rust-toolchain@1.70.0
- name: Set up Cargo cache
uses: Swatinem/rust-cache@v2
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iai_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
cache-iai-results:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/[email protected]
- name: Set up cargo cache
Expand All @@ -16,8 +18,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Checkout
uses: actions/checkout@v3
- name: Install test dependencies
run: |
pip install -r requirements.txt
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/iai_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
fetch-iai-results:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.base.sha }}
- name: Initialize IAI cache for ${{ github.event.pull_request.base.sha }}
uses: actions/cache@v3
id: cache-iai-results
Expand All @@ -28,11 +32,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Checkout
if: ${{ steps.cache-iai-results.outputs.cache-hit != 'true' }}
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.base.sha }}
- name: Install test dependencies
if: ${{ steps.cache-iai-results.outputs.cache-hit != 'true' }}
run: |
Expand All @@ -49,6 +48,8 @@ jobs:
needs: fetch-iai-results
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/[email protected]
- name: Set up cargo cache
Expand All @@ -57,8 +58,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Checkout
uses: actions/checkout@v3
- name: Install test dependencies
run: |
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ cargo-deps:
cargo install --version 1.14.0 hyperfine
cargo install --version 0.9.49 cargo-nextest
cargo install --version 0.5.9 cargo-llvm-cov
cargo install --version 0.11.0 wasm-pack
cargo install --version 0.12.1 wasm-pack

cairo1-run-deps:
cd cairo1-run; make deps
Expand Down

0 comments on commit 74fa49a

Please sign in to comment.