From fa47384e5d017e9971fe91055da0e2011bb7dce5 Mon Sep 17 00:00:00 2001 From: aaravm Date: Mon, 5 Aug 2024 18:56:39 +0530 Subject: [PATCH] fixing ci/cd --- .github/workflows/code_quality.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_quality.yaml b/.github/workflows/code_quality.yaml index e53010a..9fa23bf 100644 --- a/.github/workflows/code_quality.yaml +++ b/.github/workflows/code_quality.yaml @@ -17,6 +17,16 @@ jobs: OPENSSL_DIR: /usr/include/openssl OPENSSL_LIB_DIR: /usr/lib/x86_64-linux-gnu OPENSSL_INCLUDE_DIR: /usr/include/openssl + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + apt-get update + apt-get install -y curl git build-essential libssl-dev + - name: Build project + run: cargo build --release setup: runs-on: ubuntu-latest @@ -30,13 +40,11 @@ jobs: run: | apt-get update apt-get install -y curl git build-essential libssl-dev - - name: Install Rust id: install-rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: Export cargo path id: export-cargo-path run: echo "path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT