Skip to content

Commit

Permalink
Add --all-features flag to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Mar 5, 2020
1 parent d926af5 commit 1a7aadf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- run: cargo build
- run: cargo test
- run: cargo build --all-features
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- --deny warnings
- run: cargo clippy --all-features --all-targets -- --deny warnings
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- run: rustup update ${{ matrix.rust }}
- run: rustup default ${{ matrix.rust }}
- run: cargo update
- run: cargo build
- run: cargo test
- run: cargo build --all-features
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- --deny warnings
- run: cargo clippy --all-features --all-targets -- --deny warnings
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- uses: actions/checkout@v2
- run: rustup update stable
- run: rustup target add ${{ matrix.target }}
- run: cargo build --release --target ${{ matrix.target }}
- run: cargo test --release --target ${{ matrix.target }}
- run: cargo build --all-features --release --target ${{ matrix.target }}
- run: cargo test --all-features --release --target ${{ matrix.target }}
- name: Package
if: matrix.os != 'windows-latest'
run: |
Expand Down

0 comments on commit 1a7aadf

Please sign in to comment.