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 authored and olleolleolle committed Dec 28, 2023
1 parent 898f203 commit 074506e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v4

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

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

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

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

0 comments on commit 074506e

Please sign in to comment.