Skip to content

fix: katana runner config #16

fix: katana runner config

fix: katana runner config #16

Workflow file for this run

---
name: Rust
on:
push:
pull_request:
jobs:
integration_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# selecting a toolchain either by action or manual `rustup` calls should happen
# before the plugin, as the cache uses the current rustc version as its cache key
- run: rustup show
- uses: Swatinem/rust-cache@v2
- uses: software-mansion/setup-scarb@v1
- name: Build contracts
run: |
cd contracts && scarb build
- name: Build the rust code
run: |
cd rust && cargo build --release
- name: Install dojoup
run: |
curl -L https://install.dojoengine.org | bash
- name: Install dojo
run: |-
/home/runner/.config/.dojo/bin/dojoup -v 0.7.0-alpha.2
sudo mv /home/runner/.config/.dojo/bin/katana /usr/local/bin/
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run integration tests
run: |
cd rust && cargo test