From 117f96ae457154d837db986087200238db6220d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alja=C5=BE=20Mur=20Er=C5=BEen?= Date: Thu, 23 Feb 2023 14:40:51 +0100 Subject: [PATCH] gh action --- .github/workflows/test-lib.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test-lib.yaml b/.github/workflows/test-lib.yaml index 6ca47e58a989..7937d0066449 100644 --- a/.github/workflows/test-lib.yaml +++ b/.github/workflows/test-lib.yaml @@ -13,6 +13,16 @@ jobs: steps: - name: 📂 Checkout code uses: actions/checkout@v3 + - name: 💰 Cache + uses: Swatinem/rust-cache@v2 + with: + key: ${{ inputs.target_option }} + save-if: ${{ github.ref == 'refs/heads/main' }} + - name: Build + uses: richb-hanover/cargo@v1.1.0 + with: + command: build + args: --release -p prql-lib - name: Run basic C example working-directory: prql-lib/examples/minimal-c run: make run