-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdev.yml
More file actions
32 lines (28 loc) · 898 Bytes
/
dev.yml
File metadata and controls
32 lines (28 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: shopify-function-wasm-api
type: rust
up:
- rust
- custom:
name: Install Insta (snapshot testing) for Rust
meet: cargo install cargo-insta
met?: cargo install --list | grep cargo-insta
commands:
test:
run: |
cargo test
cargo test --examples
style:
run: |
cargo fmt
cargo clippy --all-features -- -D warnings
cargo clippy --target wasm32-unknown-unknown --all-features --workspace --exclude shopify_function_trampoline --exclude integration_tests -- -D warnings
cargo clippy --tests --all-features
cargo clippy --benches --all-features
cargo clippy --examples --all-features
cargo clippy --examples --target wasm32-unknown-unknown --all-features
build:
run: cargo build --release --all-features
check:
test: /opt/dev/bin/dev test
style: /opt/dev/bin/dev style
build: /opt/dev/bin/dev build