Try catch resources and use Files to instantiate output/input streams #44
This file contains 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: auto-format | |
on: | |
push: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
if: ${{ false }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Prettify code | |
uses: creyD/[email protected] | |
with: | |
prettier_options: --tab-width 4 --print-width 110 --write **/**/*.java | |
prettier_version: "2.8.8" | |
only_changed: True | |
commit_message: "auto-format" | |
prettier_plugins: "prettier-plugin-java" |