Skip to content

Commit

Permalink
fixing ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
aaravm committed Aug 5, 2024
1 parent 064905f commit fa47384
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/code_quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fa47384

Please sign in to comment.