Skip to content

fix(printer): break and indent binary expression with cast properly #381

fix(printer): break and indent binary expression with cast properly

fix(printer): break and indent binary expression with cast properly #381

Workflow file for this run

name: Prettier-java
on: [push, pull_request]
jobs:
tests:
name: unit tests (node ${{ matrix.node_version }})
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]')"
strategy:
matrix:
node_version:
- 14.x
- 16.x
- 18.x
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: actions/setup-java@v1
with:
java-version: '11.x'
- name: Install dependencies
run: yarn
- name: Run CI
run: yarn run ci
e2e-tests:
name: ${{ matrix.test_repository }} (node ${{ matrix.node_version }})
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]')"
strategy:
matrix:
test_repository:
- e2e-jhipster1
- e2e-jhipster2
node_version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: actions/setup-java@v1
with:
java-version: '11.x'
- name: Install dependencies
run: yarn
- name: Build prettier-plugin-java
run: yarn run build:prettier-plugin-java
- name: Run e2e tests
run: yarn run test:prettier-plugin-java test:${{ matrix.test_repository }}