fix: preserve buffer prettier defaults #6
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: Compatibility Smoke | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| whitespace: | |
| name: Whitespace diff check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check whitespace in committed diff | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| git diff --check "origin/${{ github.base_ref }}...HEAD" | |
| elif [ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]; then | |
| git diff --check "${{ github.event.before }}..HEAD" | |
| else | |
| git diff-tree --check --no-commit-id --root -r HEAD | |
| fi | |
| smoke: | |
| name: Targeted Vim smoke check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: yarn | |
| - name: Install Vim | |
| run: sudo apt-get update && sudo apt-get install -y vim | |
| - name: Verify Vim capabilities | |
| run: node scripts/vim-version.js | |
| - name: Report Yarn version | |
| run: yarn --version | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run targeted smoke check | |
| run: yarn test:smoke | |
| known-passing-formatting: | |
| name: Known-passing formatting fixtures | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: yarn | |
| - name: Install Vim | |
| run: sudo apt-get update && sudo apt-get install -y vim | |
| - name: Verify Vim capabilities | |
| run: node scripts/vim-version.js | |
| - name: Report Yarn version | |
| run: yarn --version | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run known-passing formatting fixtures | |
| run: yarn test:formatting:passing | |
| quarantined-formatting-discovery: | |
| name: Quarantined Lua/Ruby formatting discovery | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: yarn | |
| - name: Install Vim | |
| run: sudo apt-get update && sudo apt-get install -y vim | |
| - name: Report Yarn version | |
| run: yarn --version | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run quarantined Lua/Ruby formatting discovery | |
| run: yarn test:formatting:quarantined |