Skip to content
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
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ commands:
steps:
- run:
name: Download Substrate Dependencies
command: sudo apt-get update && sudo apt-get install -y git clang curl libssl-dev
command: |
sudo apt-get update \
&& sudo apt-get install -y git clang curl libssl-dev \
&& git config --global url."https://github.com/paritytech/".insteadOf https://github.com/paritytech//
cargo_audit_setup:
description: Install cargo-audit
steps:
Expand Down Expand Up @@ -60,8 +63,7 @@ commands:
curl https://sh.rustup.rs -sSf | sh -s -- -y \
--default-toolchain "$RUSTC_TOOLCHAIN" \
-c clippy rustfmt \
-t wasm32-unknown-unknown \
--profile minimal
-t wasm32-unknown-unknown
- restore_cache:
key: cargo-package-cache-{{ checksum "Cargo.lock" }}-{{ arch }}
- sccache_setup
Expand Down
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.cargo/config.toml
/target
/Dockerfile
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

.DS_Store

# The cache for docker container dependency
.cargo

# The cache for chain data in container
.local

Expand Down