diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a276cbd..49acca5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,11 @@ jobs: uses: taiki-e/github-actions/.github/workflows/msrv.yml@main with: event_name: ${{ github.event_name }} + test: + uses: taiki-e/github-actions/.github/workflows/test.yml@main + with: + doc-nightly-only: true + build-args: --depth 2 --features unstable tidy: uses: taiki-e/github-actions/.github/workflows/tidy.yml@main permissions: @@ -48,36 +53,3 @@ jobs: pull-requests: write # for gh pr edit --add-assignee repository-projects: read # for gh pr edit --add-assignee secrets: inherit - - test: - strategy: - fail-fast: false - matrix: - rust: - - stable - - beta - - nightly - runs-on: ubuntu-latest - timeout-minutes: 60 - steps: - - uses: taiki-e/checkout-action@v1 - - uses: taiki-e/github-actions/install-rust@main - with: - toolchain: ${{ matrix.rust }} - - uses: taiki-e/install-action@cargo-hack - - uses: taiki-e/install-action@cargo-minimal-versions - - run: cargo test --workspace --all-features --tests - if: (!startsWith(matrix.rust, 'nightly')) - - run: cargo test --workspace --all-features - if: startsWith(matrix.rust, 'nightly') - - run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features - - run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features --direct - - features: - runs-on: ubuntu-latest - timeout-minutes: 60 - steps: - - uses: taiki-e/checkout-action@v1 - - uses: taiki-e/github-actions/install-rust@nightly - - uses: taiki-e/install-action@cargo-hack - - run: cargo hack build --workspace --no-private --feature-powerset --depth 2 --no-dev-deps --features unstable --ignore-unknown-features