Skip to content

Commit

Permalink
standardrb without any external action
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaunier committed Feb 16, 2023
1 parent 53bd766 commit cdfa600
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/standardrb-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,17 @@ name: StandardRB
on:
push:

permissions:
checks: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Check out the repo
uses: actions/checkout@v3
- name: standardrb
env:
RUBY_VERSION: '3.2'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: amoeba/standardrb-action@v2
- name: Install StandardRB
run: gem install standard
- name: Run StandardRB
run: standardrb

0 comments on commit cdfa600

Please sign in to comment.