-
Notifications
You must be signed in to change notification settings - Fork 11
41 lines (36 loc) · 981 Bytes
/
test.yaml
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
33
34
35
36
37
38
39
40
41
name: Rust
on:
pull_request:
branches:
- master
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
override: true
default: true
- name: Install Wasm toolchain
run: rustup target add wasm32-unknown-unknown
- name: Test zenlink-protocol
run: cargo test -p zenlink-protocol
- name: Test zenlink-stable-amm
run: cargo test -p zenlink-stable-amm
- name: Test zenlink-swap-router
run: cargo test -p zenlink-swap-router
- name: Test zenlink-vault
run: cargo test -p zenlink-vault
- name: Test zenlink-gauge
run: cargo test -p zenlink-gauge