From 626cf48df57967b19c5c9cd91b20a4790f37072b Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 6 Mar 2020 12:14:55 +0000 Subject: [PATCH] Add github workflow CI (#74) * Create rust.yml * Add build badge to README * Fix readme badge link --- .github/workflows/rust.yml | 19 +++++++++++++++++++ README.md | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000000..6738b0b292 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,19 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/README.md b/README.md index cb37b2d03c..1ff64413e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# subxt +# subxt · ![build](https://github.com/paritytech/substrate-subxt/workflows/Rust/badge.svg) A library to **sub**mit e**xt**rinsics to a [substrate](https://github.com/paritytech/substrate) node via RPC.