Update Rust installation action in workflow

This commit is contained in:
Krishan
2026-03-03 22:15:57 +11:00
committed by GitHub
parent 617891af96
commit cf839c0fe9

View File

@@ -27,10 +27,10 @@ jobs:
with: with:
node-version: 24.13.1 node-version: 24.13.1
cache: 'npm' cache: 'npm'
- name: Install Rust stable - name: install Rust stable
uses: actions-rs/toolchain@v1.0.7 uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Install dependencies (ubuntu only) - name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-22.04'
run: | run: |