From f351ef4d46f942a71a362d5d4fee6d17596a207f Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Tue, 20 Aug 2024 12:08:36 +0200 Subject: [PATCH] Add pipeline for tests --- .gitea/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 60cfbcb..a56806f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -4,6 +4,24 @@ on: pull_request: jobs: + test: + container: git.kjan.de/actions/rust-node + name: Test publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: ⚡ Cache + uses: https://git.kjan.de/actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target/release/deps + target/release/build + target + key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-loadstar + - run: cargo test + can-publish: container: git.kjan.de/actions/rust-node name: Test publish