Skip to content

Commit

Permalink
Use latest Ruby version to publish and run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Dec 28, 2023
1 parent 15cfb2e commit 9f8b16e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Ruby 3.3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true

- name: Rubocop
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Ruby 3.3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3

- name: Publish to RubyGems
uses: dawidd6/action-publish-gem@v1
Expand Down

0 comments on commit 9f8b16e

Please sign in to comment.