From cba0da8def0719b05fb2784194e6e1a487a8e2c0 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Thu, 23 Mar 2023 22:43:07 +0000 Subject: [PATCH] Modernize more GitHub Actions steps. --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fddc69f..b4a75422 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,12 +65,7 @@ jobs: persist-credentials: false - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - components: rustfmt, clippy - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 @@ -89,7 +84,7 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: pytrustfall/.venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}