Skip to content

Commit

Permalink
v0.1.0: ready to replace existing substrate subcommand (#6)
Browse files Browse the repository at this point in the history
* work with latest substrate

* sync code with latest substrate

* remove sc_cli shared params

* fix comment

* add missing stable commands

* migrate tests

* test rust docs action

* install protoc

* add rusttoolchain

* remove rust-toolchain

* add licence

* lint

* add toolchain

* try to fix github actions build

* docs

* clippy

* update homepage

* update cargo.lock

* tweak docs

* fix no deps arg

* update readme

* update docs

* rust docs workflow

* update descriptions

* fix docs link

* improve docs

* typo

* update tests

* prepare for merging

* use latest substrate in tests

* try fix test ci

* disable ci tests

* update readme

* update readme

* remove -cli suffix from binary

* update tests

* use resolver = 2

* set default runtime value

* remove redundant comment

* test removing rust toolchain from rust-docs.yaml

* minor doc improvement

* try stable toolchain

* organise deps

* update description
  • Loading branch information
liamaharon authored Aug 16, 2023
1 parent e1d9fbf commit 64a7a17
Show file tree
Hide file tree
Showing 26 changed files with 6,221 additions and 3,120 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/rust-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,25 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
version: "3.6.1"

- name: Install clippy and fmt
run: rustup component add clippy rustfmt

- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown

- name: Run Format Checks
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all

- name: Run Linter
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- --no-deps -D warnings

- name: Run Unit Test Suite
uses: actions-rs/cargo@v1
with:
command: test
34 changes: 34 additions & 0 deletions .github/workflows/rust-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update rust docs

on:
push:
branches:
- liam-v0.1.0

jobs:
docs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: "3.6.1"

- name: Add wasm32-unknwon-unknown target
run: rustup target add wasm32-unknown-unknown

- name: Build docs
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
Loading

0 comments on commit 64a7a17

Please sign in to comment.