chore(deps): update rust crate similar to v3 #561
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - name: Enable Git long paths (Windows) | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| run: git config --global core.longpaths true | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Check | |
| run: cargo check --all-features | |
| - name: Test | |
| run: cargo test | |
| - name: Format | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: cargo fmt --all -- --check | |
| - name: Conformance | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: | | |
| cargo run -p oxc_angular_conformance | |
| git diff --exit-code | |
| napi-smoke: | |
| name: NAPI Smoke (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - name: Enable Git long paths (Windows) | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| run: git config --global core.longpaths true | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: | | |
| pnpm build-dev | |
| pnpm --filter ./napi/angular-compiler build:ts | |
| - name: Test | |
| run: pnpm test | |
| napi: | |
| name: NAPI Build (Ubuntu E2E) | |
| runs-on: ubuntu-latest | |
| needs: napi-smoke | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: | | |
| pnpm build-dev | |
| pnpm --filter ./napi/angular-compiler build:ts | |
| - name: Lint | |
| run: pnpm check | |
| - name: Test | |
| run: | | |
| pnpm --filter ./napi/angular-compiler exec playwright install --with-deps | |
| pnpm test:e2e | |
| - name: Compare tests | |
| run: pnpm --filter @oxc-angular/compare compare --fixtures |