Add control origin #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |