Skip to content

Commit

Permalink
Add Standard workflow
Browse files Browse the repository at this point in the history
This commit adds a GitHub Action that does Standard linting and
formatting checks.

Ref:
- https://github.com/standardrb/standard-ruby-action
  • Loading branch information
smaboshe committed Sep 9, 2024
1 parent 87a0bdb commit e3c4a77
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/standardrb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
ruby-version: "3.3.5"
autofix: false

0 comments on commit e3c4a77

Please sign in to comment.