From 8c8d274be254424735ebdd11f91810bb21a9dd36 Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 10 Jun 2021 23:53:47 +0200 Subject: [PATCH] ci: Use stable Rust for building svd2rust --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd47f6d..f912103 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Install Rust + + - name: Install Stable Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: false + - name: Install Nightly Rust uses: actions-rs/toolchain@v1 with: profile: minimal @@ -43,7 +50,7 @@ jobs: git remote add origin https://github.com/rust-embedded/svd2rust.git git fetch origin 56be78729279eeebef65110c13be8d96c0b9270f git checkout FETCH_HEAD - cargo install --path . + cargo +stable install --path . - name: Install cargo-form if: steps.cache-cargo.outputs.cache-hit != 'true' uses: actions-rs/install@v0.1 -- 2.49.0