Skip to content

Commit

Permalink
fix(ci): lock nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Oct 2, 2024
1 parent 4fcd12a commit a847a41
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ env:

jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use nightly Rust
# lock to 2024-08-23 and wait for embassy-executor to be updated
run: |
rustup default nightly
rustup default nightly-2024-08-23
rustup component add rust-src
rustup update
rustup target add riscv32imac-unknown-none-elf
rustup target add riscv32imafc-unknown-none-elf
rustup target add riscv32i-unknown-none-elf
# See https://github.com/rust-lang/rust/issues/12880
touch ~/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/Cargo.lock
- name: Fetch Deps
# if this is a pull request
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit a847a41

Please sign in to comment.