summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/.github/workflows/main.yml')
-rw-r--r--src/tools/cargo/.github/workflows/main.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tools/cargo/.github/workflows/main.yml b/src/tools/cargo/.github/workflows/main.yml
index 7b8055223..a49ac0988 100644
--- a/src/tools/cargo/.github/workflows/main.yml
+++ b/src/tools/cargo/.github/workflows/main.yml
@@ -66,9 +66,7 @@ jobs:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: rustup component add clippy
- # Only check cargo lib for now
- # TODO: check every members
- - run: cargo clippy -p cargo --lib --no-deps -- -D warnings
+ - run: cargo clippy --workspace --all-targets --no-deps -- -D warnings
stale-label:
runs-on: ubuntu-latest
@@ -110,8 +108,6 @@ jobs:
CARGO_PROFILE_TEST_DEBUG: 1
CARGO_INCREMENTAL: 0
CARGO_PUBLIC_NETWORK_TESTS: 1
- # Deny warnings on CI to avoid warnings getting into the codebase.
- RUSTFLAGS: -D warnings
strategy:
matrix:
include:
@@ -152,7 +148,7 @@ jobs:
- run: rustup target add ${{ matrix.other }}
- run: rustup component add rustc-dev llvm-tools-preview rust-docs
if: startsWith(matrix.rust, 'nightly')
- - run: sudo apt update -y && sudo apt install gcc-multilib libsecret-1-0 libsecret-1-dev -y
+ - run: sudo apt update -y && sudo apt install lldb gcc-multilib libsecret-1-0 libsecret-1-dev -y
if: matrix.os == 'ubuntu-latest'
- run: rustup component add rustfmt || echo "rustfmt not available"
- name: Configure extra test environment