mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 10:37:56 +00:00
67f3ce529e
* Refactor api. * Try fix ci. * Fix test. * Address review comments.
29 lines
425 B
YAML
29 lines
425 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
|
|
|
|
- name: fmt
|
|
run: cargo +nightly fmt --all -- --check
|
|
|
|
- name: build
|
|
run: cargo build --verbose
|
|
|
|
- name: test
|
|
run: cargo test --verbose
|