Mono repo automatic support, and prerelease fixes #9415
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feat/* | |
| pull_request: {} | |
| merge_group: | |
| permissions: {} | |
| jobs: | |
| checks: | |
| name: Run Checks | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1 | |
| - name: Install nightly toolchain (for formatting) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: rustup toolchain install nightly --component rustfmt | |
| - uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0 | |
| with: | |
| install: ${{ matrix.os == 'ubuntu-latest' }} | |
| - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| if: matrix.os == 'ubuntu-latest' | |
| with: | |
| path: docs/node_modules | |
| key: ${{ runner.os }}-docs-deps-${{ hashFiles('docs/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-docs-deps- | |
| - name: Install docs dependencies | |
| if: matrix.os == 'ubuntu-latest' | |
| run: mise run install-docs-dependencies | |
| - name: Run CI | |
| if: matrix.os == 'ubuntu-latest' | |
| run: mise run ci | |
| - name: Run tests only | |
| if: matrix.os == 'windows-latest' | |
| run: mise run --skip-tools test | |
| vale: | |
| name: Vale | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - run: npm install -g mdx2vast # Adds MDX support for Vale | |
| - uses: vale-cli/vale-action@0135b9fe2b3107365569cc3142b9a1c85221ea2f | |
| with: | |
| files: '["docs", "README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]' |