Files
pezkuwi-subxt/.github/workflows/rust.yml
T
Qinxuan Chen 7655caac0f Derive Clone for PairSigner (#184)
* Derive `Clone` for `PairSigner`

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Specify the date of nightly toolchain to fix CI

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2020-10-20 10:57:27 +01:00

30 lines
615 B
YAML

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup
run: |
rustup install nightly-2020-10-01 --profile default
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01
- name: fmt
run: cargo +nightly-2020-10-01 fmt --all -- --check
- name: build
run: cargo +nightly-2020-10-01 build --workspace --verbose
- name: test
run: cargo +nightly-2020-10-01 test --workspace --verbose -- --test-threads=1