Skip to content

Commit

Permalink
Clean up for rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
silug committed Dec 17, 2024
1 parent 0551988 commit 914fbb0
Show file tree
Hide file tree
Showing 7 changed files with 753 additions and 52 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Install Ruby ${{matrix.puppet.ruby_version}}"
- name: "Install Ruby 2.7"
uses: ruby/setup-ruby@v1 # ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
with:
ruby-version: 2.7
Expand All @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Install Ruby ${{matrix.puppet.ruby_version}}"
- name: "Install Ruby 2.7"
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
Expand All @@ -56,13 +56,12 @@ jobs:
- run: "bundle exec rake metadata_lint"

ruby-style:
if: false # TODO Modules will need: rubocop in Gemfile, .rubocop.yml
name: 'Ruby Style (experimental)'
name: 'Ruby Style'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: "Install Ruby ${{matrix.puppet.ruby_version}}"
- name: "Install Ruby 2.7"
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
Expand All @@ -89,7 +88,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Install Ruby ${{matrix.puppet.ruby_version}}'
- name: 'Install Ruby 2.7'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
Expand Down
Loading

0 comments on commit 914fbb0

Please sign in to comment.