Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
ci: Use stable channel (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez authored Aug 13, 2024
1 parent c607f44 commit b681414
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: dtolnay/rust-toolchain@v1
with:
target: {{ rust_target }}
toolchain: nightly
toolchain: stable
components: rust-src, rustfmt, clippy
{%- else %}
uses: esp-rs/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:

# Rust toolchain for RISC-V:
- if: matrix.chip != 'esp32' && matrix.chip != 'esp32s2' && matrix.chip != 'esp32s3'
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf
components: clippy,rustfmt,rust-src

- uses: Swatinem/rust-cache@v2
Expand Down
2 changes: 1 addition & 1 deletion pre-script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if mcu in ["esp32", "esp32s2", "esp32s3"] {
variable::set("arch", "riscv");
variable::set("gcc_target", "riscv32-esp-elf");
variable::set("rust_target", `riscv32${extensions}-unknown-none-elf`);
variable::set("toolchain", "nightly");
variable::set("toolchain", "stable");
}

let advanced = variable::get("advanced");
Expand Down

0 comments on commit b681414

Please sign in to comment.