From 1e02b2f5bbc764c7e7545b8aa30cffb3fc68798e Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 17 Jan 2024 19:52:54 +0100 Subject: [PATCH] try --- .gitea/workflows/action.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index ca933a0..54ca674 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -1,12 +1,6 @@ name: CI/CD Pipeline -on: - push: - inputs: - rust-version: - type: string - required: false - default: nightly +on: push env: CARGO_TARGET: x86_64-unknown-linux-musl @@ -22,6 +16,7 @@ jobs: - uses: actions/checkout@v3 - name: Run Test DB Script run: ./test_db.sh + - name: Set up cargo cache uses: actions/cache@v3 with: @@ -30,9 +25,9 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - target/ + target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- + - name: Build run: | cargo build