Skip to content

Commit 78994e7

Browse files
ci: add cargo build step
1 parent 38d45cf commit 78994e7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# ApexChainx Contracts — CI Pipeline
33
# =============================================================================
44
#
5-
# Triggered on push/PR to main. Essential checks only:
5+
# Triggered on push/PR to main. Essential checks:
66
# 1. Formatting (rustfmt)
77
# 2. Linting (clippy)
8-
# 3. Tests (cargo test)
8+
# 3. Build (cargo build)
9+
# 4. Tests (cargo test)
910
# =============================================================================
1011

1112
name: CI
@@ -44,5 +45,8 @@ jobs:
4445
- name: Clippy linting
4546
run: cargo clippy --manifest-path apexchainx_calculator/Cargo.toml
4647

48+
- name: Build
49+
run: cargo build --manifest-path apexchainx_calculator/Cargo.toml
50+
4751
- name: Run tests
4852
run: cargo test --manifest-path apexchainx_calculator/Cargo.toml

0 commit comments

Comments
 (0)