From a4b6303759c205fcc46e29edea2fee58566f1f07 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 24 Jan 2023 21:01:06 +0900 Subject: [PATCH] Use forked action https://github.com/dprint/check/pull/9 --- .github/workflows/lint.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ad4a1c16..d4658611 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,9 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Install dprint - run: | - curl -fsSL https://dprint.dev/install.sh | sh -s 0.34.1 > /dev/null 2>&1 - echo "/home/runner/.dprint/bin" >> $GITHUB_PATH - - name: Check formatting - run: ~/.dprint/bin/dprint --config dprint-ci.json check + # https://github.com/dprint/check/pull/9 + - uses: kachick/check@feat-specifiable-config + with: + dprint-version: '0.34.1' + dprint-config-path: 'dprint-ci.json'