From 59ee2e033986f4bdfd465dcf8dbfc9a381c2ae2e Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 31 Jan 2023 11:40:22 -0800 Subject: [PATCH] Migrate to maintained workflow toolchain action. --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ce7ffbe..abeffc2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,11 +65,10 @@ jobs: sudo apt-get install -y libmysqlclient-dev libpq-dev libsqlite3-dev - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master + id: toolchain with: - profile: minimal toolchain: ${{ matrix.platform.toolchain }} - override: true components: rust-src - name: Cache Example Workspace @@ -77,13 +76,13 @@ jobs: uses: Swatinem/rust-cache@v2 with: workspaces: examples - key: ${{ matrix.test.name }} + key: ${{ matrix.test.name }}-${{ steps.toolchain.outputs.cachekey }} - name: Cache Root Workspace if: matrix.test.name != 'Examples' uses: Swatinem/rust-cache@v2 with: - key: ${{ matrix.test.name }} + key: ${{ matrix.test.name }}-${{ steps.toolchain.outputs.cachekey }} - name: Run Tests continue-on-error: ${{ matrix.fallible }}