Skip to content

Commit ae376ac

Browse files
committed
Run clippy on each feature
1 parent a6eb601 commit ae376ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181

8282
clippy:
8383
runs-on: ubuntu-latest
84+
strategy:
85+
matrix:
86+
FEATURES: ['', 'from_str', 'no_std']
8487
steps:
8588
- uses: actions/checkout@v2
8689
- uses: actions-rs/toolchain@v1
@@ -92,3 +95,4 @@ jobs:
9295
- uses: actions-rs/clippy-check@v1
9396
with:
9497
token: ${{ secrets.GITHUB_TOKEN }}
98+
args: --features=${{ matrix.FEATURES }}

0 commit comments

Comments
 (0)