chore(deps): update dependency oxfmt to ^0.24.0 #7277
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: VSCode CI | |
| permissions: {} | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - "pnpm-lock.yaml" | |
| - "crates/oxc_language_server/**" | |
| - "apps/oxlint/src/lsp/**" | |
| - "apps/oxfmt/src/lsp/**" | |
| - "editors/vscode/**" | |
| - "tasks/vscode_docs/**" | |
| - ".github/workflows/ci_vscode.yml" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "pnpm-lock.yaml" | |
| - "crates/oxc_language_server/**" | |
| - "apps/oxlint/src/lsp/**" | |
| - "apps/oxfmt/src/lsp/**" | |
| - "editors/vscode/**" | |
| - "tasks/vscode_docs/**" | |
| - ".github/workflows/ci_vscode.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: ${{ github.ref_name != 'main' }} | |
| jobs: | |
| test: | |
| name: Test VSCode | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 | |
| - uses: oxc-project/setup-node@8958a8e040102244b619c4a94fccb657a44b1c21 # v1.0.6 | |
| - uses: oxc-project/setup-rust@c8224157c0bf235aabc633e8cd50d344f087a7de # v1.0.12 | |
| with: | |
| save-cache: ${{ github.ref_name == 'main' }} | |
| cache-key: vscode | |
| - name: Check VSCode README is up-to-date | |
| run: | | |
| cargo run -p vscode_docs update | |
| pnpm fmt | |
| git diff --exit-code | |
| - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
| id: oxlint | |
| with: | |
| filters: | | |
| src: | |
| - "pnpm-lock.yaml" | |
| - "crates/oxc_language_server/**" | |
| - "apps/oxlint/src/lsp/**" | |
| - "editors/vscode/**" | |
| - ".github/workflows/ci_vscode.yml" | |
| - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
| id: oxfmt | |
| with: | |
| filters: | | |
| src: | |
| - "pnpm-lock.yaml" | |
| - "crates/oxc_language_server/**" | |
| - "apps/oxfmt/src/lsp/**" | |
| - "editors/vscode/**" | |
| - ".github/workflows/ci_vscode.yml" | |
| - name: Build oxlint (with napi) | |
| if: steps.oxlint.outputs.src == 'true' | |
| working-directory: editors/vscode | |
| run: pnpm run oxlint:build:debug | |
| - name: Build oxfmt (with napi) | |
| if: steps.oxfmt.outputs.src == 'true' | |
| working-directory: editors/vscode | |
| run: pnpm run oxfmt:build:debug | |
| - name: Compile VSCode | |
| working-directory: editors/vscode | |
| run: pnpm run compile | |
| - name: VSCode Unit Tests | |
| working-directory: editors/vscode | |
| run: xvfb-run -a pnpm run test:unit | |
| - name: VSCode oxlint tests | |
| if: steps.oxlint.outputs.src == 'true' | |
| working-directory: editors/vscode | |
| run: xvfb-run -a pnpm run test:oxlint && xvfb-run -a pnpm run test:oxlint-multi-root | |
| - name: VSCode oxfmt tests | |
| if: steps.oxfmt.outputs.src == 'true' | |
| working-directory: editors/vscode | |
| run: xvfb-run -a pnpm run test:oxfmt |