From d4cff3589ce1c36e31d59450a3b58e6a9e66227f Mon Sep 17 00:00:00 2001 From: mym0404 Date: Wed, 8 May 2024 23:07:47 +0900 Subject: [PATCH] ci: install ktlint --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1b7057e..f90991ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,12 @@ jobs: restore-keys: | ${{ runner.os }}-gradle-${{matrix.arch}}-lint- + - name: Install ktlint + run: + curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.2.1/ktlint && \ + chmod a+x ktlint && \ + sudo mv ktlint /usr/local/bin/ + - name: Check run: yarn t