aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-check-only.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci-check-only.yml')
-rw-r--r--.github/workflows/ci-check-only.yml37
1 files changed, 5 insertions, 32 deletions
diff --git a/.github/workflows/ci-check-only.yml b/.github/workflows/ci-check-only.yml
index 2cff3a6..fab7e99 100644
--- a/.github/workflows/ci-check-only.yml
+++ b/.github/workflows/ci-check-only.yml
@@ -6,48 +6,21 @@ on:
pull_request:
jobs:
- Check-Codes:
+ Check:
strategy:
+ fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
+ item: [build, clippy, test, arg-picker, markdown-code, examples, docs-refresh, api-docs]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- - name: Restore .temp cache
- id: cache-temp
- uses: actions/cache@v4
- with:
- path: .temp
- key: ${{ runner.os }}-mingling-temp-codes-${{ hashFiles('.run/Cargo.toml', '.run/src/**/*.rs', 'Cargo.lock', 'verified-docs.toml', 'examples/test-examples.toml') }}
- restore-keys: |
- ${{ runner.os }}-mingling-temp-codes-
-
- - run: cargo ci --test-codes
-
- Check-Docs:
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest]
- runs-on: ${{ matrix.os }}
- steps:
- - uses: actions/checkout@v4
- - uses: actions-rust-lang/setup-rust-toolchain@v1
-
- - name: Restore .temp cache
- id: cache-temp
- uses: actions/cache@v4
- with:
- path: .temp
- key: ${{ runner.os }}-mingling-temp-docs-${{ hashFiles('.run/Cargo.toml', '.run/src/**/*.rs', 'Cargo.lock', 'verified-docs.toml', 'examples/test-examples.toml') }}
- restore-keys: |
- ${{ runner.os }}-mingling-temp-docs-
-
- - run: cargo ci --test-docs
+ - run: cargo ci --check-${{ matrix.item }}
- name: Upload docs test result on failure
- if: failure()
+ if: failure() && matrix.item == 'markdown-code'
uses: actions/upload-artifact@v4
with:
name: docs-test-result-${{ matrix.os }}.md