Skip to content

Commit

Permalink
Merge pull request #630 from Setheum-Labs/migrate-to-polkadot-0.9.10
Browse files Browse the repository at this point in the history
Migrate to polkadot 0.9.10
  • Loading branch information
balqaasem authored Nov 18, 2021
2 parents 27293d4 + 266a08b commit af3b63f
Show file tree
Hide file tree
Showing 286 changed files with 36,280 additions and 18,429 deletions.
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

0 comments on commit af3b63f

Please sign in to comment.