mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 04:58:01 +00:00
21d07c6c24
* Add support for light clients. * Add wasm toolchain to ci. * Fix ci tests. * Address review comments. * Use expect instead of unwrap. * Purge light client chain too. * Add README section.
30 lines
511 B
YAML
30 lines
511 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 --profile default
|
|
rustup +nightly target add wasm32-unknown-unknown
|
|
|
|
- name: fmt
|
|
run: cargo +nightly fmt --all -- --check
|
|
|
|
- name: build
|
|
run: cargo build --workspace --verbose
|
|
|
|
- name: test
|
|
run: cargo test --workspace --verbose
|