Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to polkadot 0.9.10 #630

Merged
merged 20 commits into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
doc
**target*
.idea/
target/
Dockerfile
.dockerignore
.local
.git
audit/
.vscode/
.github/
21 changes: 12 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
root = true

# default
[*]
indent_style=tab
indent_size=tab
charset=utf-8
indent_style=space
indent_size=4
tab_width=4
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
max_line_length=120
insert_final_newline=true

[*.{yml,yaml}]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
[*.{toml,rs}]
indent_style=tab
indent_size=4

[Makefile]
indent_style=tab
indent_size=4
24 changes: 24 additions & 0 deletions .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust Release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Init
run: make init
- name: Build
run: make release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/release/setheum
LICENSE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 4 additions & 6 deletions .github/workflows/test.yml → .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Test
name: Rust

on:
pull_request:
branches:
- master
push:
branches:
- master
branches: [ master ]
pull_request:
branches: "**"

env:
CARGO_TERM_COLOR: always
Expand Down
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Generated by Cargo
# will have compiled files and executables
**/target/

# These are backup files generated by rustfmt
**/*.rs.bk

.idea
*.wasm
*.state
.DS_Store

# The cache for docker container dependency
.cargo

# The cache for chain data in container
.local

.vscode/launch.json
**/fork/data/
**/fork/node_modules/
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[submodule "predeploy-contracts"]
path = predeploy-contracts
url = https://github.com/Setheum-Labs/predeploy-contracts.git

[submodule "open-lib"]
path = open-lib
url = https://github.com/Setheum-Labs/open-runtime-module-library.git
url = https://github.com/Slixon-Technologies/open-runtime-module-library
Loading