From c9a1e3634ed7d6e1b35be3fead6fc2cea9c4dca0 Mon Sep 17 00:00:00 2001 From: syed-ali-tw Date: Tue, 6 Aug 2024 16:48:18 +0100 Subject: [PATCH] Add workflow for running erb lint --- .github/workflows/erblint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/erblint.yml diff --git a/.github/workflows/erblint.yml b/.github/workflows/erblint.yml new file mode 100644 index 000000000..db21ef7b4 --- /dev/null +++ b/.github/workflows/erblint.yml @@ -0,0 +1,21 @@ +name: Run Erb Lint + +on: + workflow_call: + +jobs: + run-erblint: + name: Run ErbLint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + show-progress: false + + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Run ErbLint + run: bundle exec erblint --parallel --format github --format progress