Skip to content

Commit

Permalink
Fix workflow even better
Browse files Browse the repository at this point in the history
  • Loading branch information
h4nsu committed Mar 22, 2024
1 parent 5e8d320 commit 93e0929
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --features "contract"

build:
name: Build the contract
Expand Down Expand Up @@ -68,4 +67,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: contract
args: build --release --features "contract"
args: build --release
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ psp22 = { version = "0.2.2", default-features = false }
path = "lib.rs"

[features]
default = ["std"]
default = ["std", "contract"]
std = [
"ink/std",
"scale/std",
Expand Down

0 comments on commit 93e0929

Please sign in to comment.