[tool]eth子命令构建transfer交易添加是否广播参数(-b代表true不添加参数代表false不广播) #17
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-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: 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 |