Skip to content

Commit

Permalink
update CI: use the proper toolchain for each job
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Jan 23, 2024
1 parent 68a346e commit d4d705d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
command: clippy
args: -p ${{ matrix.package }} --target ${{ matrix.target }}
toolchain: $RUST_NIGHTLY

clippy-cargo-ledger:
name: Run static analysis for cargo-ledger
Expand All @@ -45,7 +46,7 @@ jobs:
with:
command: clippy
args: -p cargo-ledger --no-deps
toolchain: "+1.75.0"
toolchain: $RUST_STABLE

format:
name: Check code formatting
Expand All @@ -60,6 +61,7 @@ jobs:
with:
command: fmt
args: --all --check
toolchain: $RUST_NIGHTLY

build:
name: Build SDK
Expand All @@ -77,6 +79,7 @@ jobs:
with:
command: build
args: -p ledger_device_sdk --target ${{ matrix.target }}
toolchain: $RUST_NIGHTLY

build-cargo-ledger:
name: Build SDK
Expand All @@ -91,7 +94,7 @@ jobs:
with:
command: build
args: -p cargo-ledger
toolchain: "+1.75.0"
toolchain: $RUST_STABLE

test:
name: Run unit and integration tests
Expand All @@ -109,3 +112,4 @@ jobs:
with:
command: test
args: -p ledger_device_sdk --target ${{ matrix.target }} --features speculos
toolchain: $RUST_NIGHTLY

0 comments on commit d4d705d

Please sign in to comment.