From a07c8f7bd4399dd430fc611c502991ece60cdee2 Mon Sep 17 00:00:00 2001 From: Silumesii Maboshe Date: Tue, 20 Aug 2024 09:37:42 +0200 Subject: [PATCH] Add Standard workflow This commit adds a GitHub Action that does Standard linting and formatting checks. --- .github/workflows/standardrb.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/standardrb.yml diff --git a/.github/workflows/standardrb.yml b/.github/workflows/standardrb.yml new file mode 100644 index 000000000..b7e89c648 --- /dev/null +++ b/.github/workflows/standardrb.yml @@ -0,0 +1,18 @@ +--- +name: Lint with StandardRB +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + permissions: + contents: read + checks: write + + steps: + - uses: actions/checkout@v4 + - name: StandardRB Linter + uses: testdouble/standard-ruby-action@1.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}