Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
fix CI for substrate version update (#198)
  • Loading branch information
kalaninja authored May 26, 2023
commit 141571ed72b39b65c46c78f2ecb6eba780b60e50
5 changes: 2 additions & 3 deletions .github/templates/setup-worker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ runs:
- name: Install Rust nightly
shell: bash
run: |
rustup toolchain install nightly-2023-01-01
rustup toolchain install nightly-2023-01-01 --profile minimal --component rustfmt
rustup default nightly-2023-01-01
rustup target add wasm32-unknown-unknown
rustup component add rustfmt
rustup target add wasm32-unknown-unknown
12 changes: 5 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release

- name: Check Build Trappist Runtime
run: |
SKIP_WASM_BUILD=1 cargo check --release --features with-trappist-runtime
SKIP_WASM_BUILD=1 cargo check --release --locked --features with-trappist-runtime

- name: Check Build Stout Runtime
run: |
SKIP_WASM_BUILD=1 cargo check --release --no-default-features --features with-stout-runtime
SKIP_WASM_BUILD=1 cargo check --release --locked --no-default-features --features with-stout-runtime

test:
needs: lint
Expand All @@ -62,8 +61,8 @@ jobs:
uses: jlumbroso/free-disk-space@main
with:
android: true
dotnet: false
haskell: false
dotnet: true
haskell: true
large-packages: false
swap-storage: false

Expand All @@ -82,8 +81,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug

- name: Run tests
run: |
cargo test --features runtime-benchmarks --jobs 2
cargo test --features runtime-benchmarks --locked --jobs 1
Loading