Skip to content

Commit

Permalink
Adjust Rust GH Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Dec 29, 2019
1 parent a70d97d commit a0dd249
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/rust.yml
Expand Up @@ -5,10 +5,13 @@ jobs:
runs-on: [windows-latest]
strategy:
matrix:
rust:
- 1.34.0 # MSRV
- stable
- beta
# MSRV
rust: [1.34.0, stable, beta]
features: [",", zeroize]
exclude:
# Zeroize 1.1 supports Rust 1.39+
- rust: 1.34.0
features: zeroize
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
Expand All @@ -20,14 +23,16 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --features ${{ matrix.features }}
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features ${{ matrix.features }}
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: -- -D warnings --no-default-features --features ${{ matrix.features }}

0 comments on commit a0dd249

Please sign in to comment.