Skip to content

Commit

Permalink
Merge pull request #47 from OriginTrail/feature/polkadot-v0.9.40
Browse files Browse the repository at this point in the history
Code and dependencies update for Polkadot v0.9.40
  • Loading branch information
NZT48 authored Jun 30, 2023
2 parents afb5d29 + 0e4def3 commit 8d56ceb
Show file tree
Hide file tree
Showing 52 changed files with 5,827 additions and 4,102 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ name: Check Links
on:
pull_request:
branches:
- master
- develop
- release/alphanet
- release/devnet
- release/testnet
- release/mainnet
push:
branches:
- master
- develop
- release/alphanet
- release/devnet
- release/testnet
- release/mainnet

jobs:
markdown-link-check:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"ignorePatterns": [
{
"pattern": "^https://crates.io"
},
{
"pattern": "^https://twitter.com"
}
]
}
}
50 changes: 25 additions & 25 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@ name: Test Code
on:
pull_request:
branches:
- master
- develop
- release/alphanet
- release/devnet
- release/testnet
- release/mainnet
push:
branches:
- master
- develop
- release/alphanet
- release/devnet
- release/testnet
- release/mainnet

jobs:
test-code:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:

- name: Checkout Code
uses: actions/checkout@v2

# Steps taken from https://github.com/actions/cache/blob/master/examples.md#rust---cargo
- name: Cache cargo registry
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-04-18
components: rustfmt, clippy
target: wasm32-unknown-unknown
override: true
default: true
uses: actions/checkout@v3

- name: Install linux dependencies
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust
run: |
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown
# Rust cache
- uses: Swatinem/rust-cache@v2

# Enable this for clippy linting.
# - name: Check and Lint Code
# run: cargo +nightly-2020-05-07 clippy -- -D warnings
# run: cargo +nightly clippy -- -D warnings

- name: Check Code
run: cargo check
Expand Down
Loading

0 comments on commit 8d56ceb

Please sign in to comment.