diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a2f10f3..3330d9d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Run clippy with default features run: cargo clippy --workspace --all-targets -- -D warnings - - name: Run clippy with all features enabled (e.g. tor) + - name: Run clippy with all features enabled run: cargo clippy --workspace --all-targets --all-features -- -D warnings build_test: @@ -64,17 +64,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install and stop tor in case it was running - if: (matrix.os == 'ubuntu-latest' && !matrix.skip_tests) - run: | - sudo apt install software-properties-common - sudo curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo gpg --import - sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - - sudo add-apt-repository 'deb https://deb.torproject.org/torproject.org bionic main' - sudo apt update - sudo apt install tor deb.torproject.org-keyring - sudo /etc/init.d/tor stop - - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: