Skip to content

Commit fa47384

Browse files
committed
fixing ci/cd
1 parent 064905f commit fa47384

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/code_quality.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
OPENSSL_DIR: /usr/include/openssl
1818
OPENSSL_LIB_DIR: /usr/lib/x86_64-linux-gnu
1919
OPENSSL_INCLUDE_DIR: /usr/include/openssl
20+
steps:
21+
- name: Check out repository
22+
uses: actions/checkout@v4
23+
24+
- name: Install dependencies
25+
run: |
26+
apt-get update
27+
apt-get install -y curl git build-essential libssl-dev
28+
- name: Build project
29+
run: cargo build --release
2030

2131
setup:
2232
runs-on: ubuntu-latest
@@ -30,13 +40,11 @@ jobs:
3040
run: |
3141
apt-get update
3242
apt-get install -y curl git build-essential libssl-dev
33-
3443
- name: Install Rust
3544
id: install-rust
3645
run: |
3746
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3847
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
39-
4048
- name: Export cargo path
4149
id: export-cargo-path
4250
run: echo "path=$HOME/.cargo/bin" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)