From 2565d4b9c15d952321f0abfc872bc64e8bb8c523 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 4 May 2025 00:26:10 +0300 Subject: [PATCH] use rust-cache --- .gitea/workflows/cd.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index aa1fd50..6bcf3b4 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -6,13 +6,8 @@ jobs: name: cargo build runs-on: ubuntu-latest steps: - - name: Restore cached toolchain - id: cache-toolchain - uses: actions/cache/restore@v4 - with: - path: | - ~/.rustup/toolchains - key: ${{ runner.os }}-rust-toolchain + - run: rustup toolchain install stable --profile minimal + - uses: Swatinem/rust-cache@v2 - uses: actions/checkout@v4