diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77ed657..dfeadec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,9 +35,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@5126516654c75f76bca1de45dd82a3006d8890f9 - - name: Install rubyfmt - run: | - curl -sL "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/fables-tales/rubyfmt/releases/download/v0.14.1/rubyfmt-v0.14.1-Linux-x86_64.tar.gz" | tar xz - sudo install -m 755 tmp/releases/v0.14.1-Linux/rubyfmt /usr/local/bin/rubyfmt - - name: Check formatting - run: rubyfmt --check lib/ spec/ Rakefile code_manifest.gemspec Gemfile bin/console + - name: Rubyfmt + uses: rubyatscale/rubyfmt-action@v1 + with: + paths: | + lib/ + spec/ + Rakefile + code_manifest.gemspec + Gemfile + bin/console