From 19a9284dbea1c051da9cf29018aece0326b05bb8 Mon Sep 17 00:00:00 2001 From: Congyu WANG Date: Thu, 25 Jul 2024 14:31:27 +0800 Subject: [PATCH] Revert "ci improvements" (mistake) This reverts commit e3616c2bc8db697465f6244eece41a8141c935a8. --- .github/workflows/main.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 191e1eb..8926c9f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,15 +17,8 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} - components: clippy + profile: minimal override: true - - name: Clippy - run: | - cargo clippy --all-targets --no-default-features --features=tokio -- -D warnings - cargo clippy --all-targets --no-default-features --features=tokio,tor -- -D warnings - cargo clippy --all-targets --no-default-features --features=futures-io -- -D warnings - cargo clippy --all-targets --no-default-features --features=futures-io,tor -- -D warnings - cargo clippy --all-targets --all-features -- -D warnings - name: Install 3proxy run: | cd $HOME @@ -34,11 +27,9 @@ jobs: cd 3proxy-0.8.13 && ln -s Makefile.Linux Makefile && make -j$(nproc) sudo apt-get update sudo apt-get install socat -y - - name: Build - run: | - cargo build --examples --all-features - cargo build --verbose --all --all-features - cargo test --lib --verbose --all-features - name: Run tests run: | + cargo build --examples + cargo build --verbose --all + cargo test --lib --verbose env PATH=$HOME/3proxy-0.8.13/src:$PATH tests/integration_tests.sh