From 08c7af9bda4c21f59a86cbf304a483028c4c3c76 Mon Sep 17 00:00:00 2001 From: Jim Yeh Date: Wed, 7 Jun 2023 10:31:43 +0800 Subject: [PATCH] Add prettier github action --- .github/workflows/prettier.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/prettier.yaml diff --git a/.github/workflows/prettier.yaml b/.github/workflows/prettier.yaml new file mode 100644 index 0000000..2117092 --- /dev/null +++ b/.github/workflows/prettier.yaml @@ -0,0 +1,18 @@ +name: prettier +on: + push: + pull_request: + +jobs: + prettier: + name: prettier + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + - name: Prettify code + uses: creyD/prettier_action@v4.3 + with: + # This part is also where you can pass other options, for example: + dry: true + file_pattern: contracts/FeralfileArtworkV4.sol