Skip to content

Commit

Permalink
Upgrade Recipes to Substrate 3.0 (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: Jimmy Chu <jimmychu0807@gmail.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
Co-authored-by: Sacha <alexander.lansky@gmail.com>
Co-authored-by: sacha-l <sacha@parity.io>
  • Loading branch information
5 people committed Apr 15, 2021
1 parent f4493a3 commit 53f7ce1
Show file tree
Hide file tree
Showing 157 changed files with 5,417 additions and 5,885 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/test-code.yml
Expand Up @@ -18,15 +18,12 @@ jobs:
matrix:
toolchain:
- stable
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container:
image: paritytech/ci-linux:e79b7a7e-20200827
image: paritytech/ci-linux:production
env:
RUST_BACKTRACE: full
CARGO_INCREMENTAL: 0
CARGO_HOME: /github/home/cache/${{ github.head_ref }}/${{ matrix.toolchain }}/cargo
CARGO_TARGET_DIR: /github/home/cache/${{ github.head_ref }}/${{ matrix.toolchain }}/target
SCCACHE_DIR: /github/home/cache/${{ github.head_ref }}/${{ matrix.toolchain }}/sccache
SCCACHE_IDLE_TIMEOUT: 0
CMAKE_C_COMPILER_LAUNCHER: sccache
CMAKE_CXX_COMPILER_LAUNCHER: sccache
Expand All @@ -48,21 +45,13 @@ jobs:
fetch-depth: 5
submodules: recursive

- name: Cache CARGO_HOME, CARGO_TARGET_DIR, SCCACHE_DIR
uses: actions/cache@v2
with:
path: |
/github/home/cache/${{ github.head_ref }}/${{ matrix.toolchain }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-cargo-
- name: Rust Cache
uses: Swatinem/rust-cache@v1.2.0

- name: Cache stats
- name: Sccache stats
shell: bash
run: |
sccache --show-stats
du -sh /github/home/cache/${{ github.head_ref }}/${{ matrix.toolchain }}/*
## --- Test stage ---

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -7,7 +7,7 @@ Welcome!**
The Recipes are part of the Substrate Developer Hub, so inter-linking between the Recipes and other
DevHub facets is common. In particular, the Recipes frequently links to:

- The [Reference Docs](https://substrate.dev/rustdocs/v2.0.0/)
- The [Reference Docs](https://substrate.dev/rustdocs/v3.0.0/)
- The [Tutorials](https://substrate.dev/en/tutorials)
- The [Knowledge Base](https://substrate.dev/docs/en/)

Expand Down

0 comments on commit 53f7ce1

Please sign in to comment.