diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02844029b3..2939ad7f6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,10 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - - name: Set up Rust - uses: actions-rs/toolchain@v1 + - name: Install Rust Toolchain + uses: dtolnay/rust-toolchain@stable with: toolchain: stable - profile: minimal - override: true - name: Run cargo fmt run: cargo fmt --check @@ -49,12 +47,10 @@ jobs: run: | gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar' - - name: Set up Rust - uses: actions-rs/toolchain@v1 + - name: Install Rust Toolchain + uses: dtolnay/rust-toolchain@stable with: toolchain: stable - profile: minimal - override: true - name: Cache Cargo Registry uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3454c087bf..e4f9814d76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,17 +36,13 @@ jobs: target-suffix: unknown-linux-gnu - os: macos-latest target-suffix: apple-darwin - ## TODO: Remove when we can fix this. Skip ARM64 builds on Ubuntu for now - #exclude: - # - os: ubuntu-latest - # architecture: aarch64 steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Rust - uses: actions-rs/toolchain@v1 + - name: Install Rust Toolchain + uses: dtolnay/rust-toolchain@stable with: toolchain: stable target: ${{ matrix.architecture }}-${{ matrix.target-suffix }}