Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust workspace #47

Merged
merged 8 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@ jobs:
runs-on: [self-hosted, Linux, X64, large]
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0

- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
toolchain: nightly-2024-02-14
targets: wasm32-unknown-unknown

- name: Install cargo-contract
run: cargo install cargo-contract

- name: Run checks for `shielder/contract`
run: cd shielder/ && make check

- name: Run tests for `shielder/contract`
run: cd shielder/ && make tests
- name: Run checks and tests
run: cd shielder/ && make all
Loading
Loading