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