Skip to content

Commit

Permalink
install nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios authored Feb 20, 2024
1 parent 03a865e commit 9952597
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install protobuf
run: sudo apt-get install protobuf-compiler
- name: Install nightly toolchain
run: sudo rustup toolchain install nightly-2023-04-01
- name: fmt check
run: cargo +nightly-2023-12-01 fmt --all --check

Expand All @@ -28,6 +30,8 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Install protobuf
run: sudo apt-get install protobuf-compiler
- name: Install nightly toolchain
run: sudo rustup toolchain install nightly-2023-04-01
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
Expand All @@ -39,7 +43,9 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Install protobuf
run: sudo apt-get install protobuf-compiler
- uses: actions/checkout@v3
- name: Install nightly toolchain
run: sudo rustup toolchain install nightly-2023-04-01
- uses: actions/checkout@v4
- name: Run Pallet Tests
run: cargo test --features runtime-benchmarks --verbose

Expand All @@ -50,7 +56,9 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Install protobuf
run: sudo apt-get install protobuf-compiler
- uses: actions/checkout@v3
- name: Install nightly toolchain
run: sudo rustup toolchain install nightly-2023-04-01
- uses: actions/checkout@v4
- name: STD Build
run: cargo build --release --features std,instant-node
- name: Run Integration Tests
Expand Down

0 comments on commit 9952597

Please sign in to comment.