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

Release preparation #4

Merged
merged 18 commits into from
Mar 28, 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
27 changes: 2 additions & 25 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
Expand All @@ -38,9 +35,7 @@ jobs:
args: --all-targets -- --no-deps -D warnings

- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
run: make test

build:
name: Build the contract
Expand All @@ -50,23 +45,5 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Cache Crates
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-contract-build-env-${{ hashFiles('rust-toolchain.toml') }}

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1

- name: Install cargo contract
uses: actions-rs/cargo@v1
with:
command: install
args: --locked cargo-contract

- name: Build contract
uses: actions-rs/cargo@v1
with:
command: contract
args: build --release
run: make build
Loading
Loading