[crypto]fix#13 ecc_simple_demo去除rust-crypto依赖 #75
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: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-11 # 先与开发机器系统保持一致 | |
steps: | |
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow | |
- uses: actions/checkout@v2 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice | |
test: | |
name: Test | |
runs-on: macos-latest | |
steps: | |
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow | |
- uses: actions/checkout@v2 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Runtests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice |