Skip to content

Commit

Permalink
Rust workspace (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 authored Apr 2, 2024
1 parent bcba5bc commit 967d180
Show file tree
Hide file tree
Showing 33 changed files with 6,387 additions and 8,004 deletions.
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

0 comments on commit 967d180

Please sign in to comment.