diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 0f13426..6106699 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - rust: [nightly, beta, stable, 1.40.0] + rust: [nightly, beta, stable, 1.39.0] steps: - uses: actions/checkout@v2 @@ -39,10 +39,11 @@ jobs: args: --all --bins --all-features - name: Run cargo check + if: startsWith(matrix.rust, '1.39.0') == false uses: actions-rs/cargo@v1 with: command: check - args: --all --bins --examples --tests --all-features + args: --all --benches --bins --examples --tests --all-features - name: Run cargo check (without dev-dependencies to catch missing feature flags) if: startsWith(matrix.rust, 'nightly') @@ -52,6 +53,7 @@ jobs: args: -Z features=dev_dep - name: Run cargo test + if: startsWith(matrix.rust, '1.39.0') == false uses: actions-rs/cargo@v1 with: command: test