]> Untitled Git - bdk/commitdiff
[ci] Enable clippy for stable and tests by default
authorSteve Myers <steve@notmandatory.org>
Thu, 29 Oct 2020 04:35:15 +0000 (21:35 -0700)
committerSteve Myers <steve@notmandatory.org>
Thu, 29 Oct 2020 04:48:40 +0000 (21:48 -0700)
.github/workflows/cont_integration.yml

index 306b86de7044a2fc9b6773f4e29fe8ff7a77c510..5a588c157d2ae7a8929509d3c72a6a77385fb728 100644 (file)
@@ -20,15 +20,15 @@ jobs:
           - key-value-db
           - electrum
           - compact_filters
-          - cli-utils,esplora
+          - cli-utils,esplora,key-value-db,electrum
           - compiler
         include:
           - rust: stable
             features: compact_filters
-            clippy: false
+            clippy: skip
           - rust: 1.45.0
             features: compact_filters
-            clippy: false
+            clippy: skip
     steps:
       - name: checkout
         uses: actions/checkout@v2
@@ -53,12 +53,13 @@ jobs:
           command: build
           args: --features ${{ matrix.features }} --no-default-features
       - name: clippy
-        if: ${{ matrix.clippy == true }}
+        if: ${{ matrix.rust == 'stable' && matrix.clippy != 'skip' }}
         uses: actions-rs/cargo@v1
         with:
           command: clippy
           args: -- -D warnings
       - name: test
+        if: ${{ matrix.test != 'skip' }}
         uses: actions-rs/cargo@v1
         with:
           command: test