diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index 358242c..a0817bd 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -19,6 +19,17 @@ jobs: - name: Add Clippy run: rustup component add clippy + - + name: Set Up Cargo Cache + uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Checking Out Repository Code uses: https://code.forgejo.org/actions/checkout@v3 @@ -47,6 +58,17 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + - + name: Set Up Cargo Cache + uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Checking Out Repository Code uses: https://code.forgejo.org/actions/checkout@v3 diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index bc535e3..9e972ea 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -20,6 +20,17 @@ jobs: - name: Add Clippy run: rustup component add clippy + - + name: Set Up Cargo Cache + uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Checking Out Repository Code uses: https://code.forgejo.org/actions/checkout@v3