From 6bee538b55172a5d26064d060d43b5cfff3ce1bd Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 17 Jan 2024 22:52:31 +0100 Subject: [PATCH] try --- .gitea/workflows/action.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index ef369de..91b1957 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -56,6 +56,17 @@ jobs: - name: Run Test DB Script run: ./test_db.sh + - 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: Build run: | cargo build --release --target $CARGO_TARGET @@ -95,6 +106,17 @@ jobs: - name: Run Test DB Script run: ./test_db.sh + + - 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: Build run: |