use rust-cache
Some checks failed
Build && Deploy / cargo build (push) Failing after 26s

This commit is contained in:
Akulij 2025-05-04 00:26:10 +03:00
parent 24e4cb9d0a
commit 2565d4b9c1

View File

@ -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