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