Skip to content

Commit

Permalink
Clean up for rubocop (#68)
Browse files Browse the repository at this point in the history
* Clean up for rubocop

* Additional cleanup
  • Loading branch information
silug authored Dec 17, 2024
1 parent 0e18365 commit 43343b8
Show file tree
Hide file tree
Showing 10 changed files with 756 additions and 66 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 43343b8

Please sign in to comment.