From f624a75ecfe82b4057df29d1696c7117e3d554b7 Mon Sep 17 00:00:00 2001 From: illegitimate-egg Date: Sat, 8 Mar 2025 19:28:51 +0000 Subject: [PATCH] Giyaaaaaat --- .github/workflows/build.yml | 18 ++++++------------ .github/workflows/release.yml | 4 +--- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d748c7..f4e0558 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,13 +16,11 @@ jobs: uses: actions/checkout@v2 - name: Install nightly toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: nightly - override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Run cargo check uses: actions-rs/cargo@v1 @@ -41,13 +39,11 @@ jobs: uses: actions/checkout@v2 - name: Install nightly toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal - toolchain: ${{ matrix.rust }} - override: true + toolchain: nightly - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Run cargo test uses: actions-rs/cargo@v1 @@ -67,12 +63,10 @@ jobs: - name: Install nightly toolchain uses: dtolnay/rust-toolchain@stable with: - # profile: minimal toolchain: nightly - # override: true components: rustfmt, clippy - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Run cargo fmt uses: actions-rs/cargo@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d46996..582f045 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,12 +63,10 @@ jobs: submodules: true - name: Install ${{ matrix.rust }} toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} - override: true - name: Run cargo test uses: actions-rs/cargo@v1