From 75a14965611f0e0689f60dd79676927284a7be8e Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Tue, 2 Apr 2024 11:08:07 +0200 Subject: [PATCH] ci: try fixing workflow --- .github/workflows/golang.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golang.yaml b/.github/workflows/golang.yaml index baaf04e1b..ea51d0d03 100644 --- a/.github/workflows/golang.yaml +++ b/.github/workflows/golang.yaml @@ -52,15 +52,16 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libssl-dev - sudo mkdir -p /usr/local/lib/pkgconfig - name: Install cargo-c run: cargo install cargo-c - name: Build and install Rust library - run: cargo cinstall -p yara-x-capi --release + run: cargo cinstall -p yara-x-capi --release --pkgconfigdir=${{ github.workspace }} - name: Run Go tests run: | cd go - go test \ No newline at end of file + go test + env: + PKG_CONFIG_PATH: ${{ github.workspace }} \ No newline at end of file