Skip to content

Commit

Permalink
Merge pull request #6 from piotr-iohk/workflow_maintenance
Browse files Browse the repository at this point in the history
ruby version 3.1.2 and setup-ruby update in workflows
  • Loading branch information
piotr-iohk authored Feb 25, 2023
2 parents 778cbbe + 46165bb commit 0fa2446
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
uses: actions/checkout@v3

- name: 💎 Set up Ruby
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3
uses: ruby/setup-ruby@v1.127.0
with:
ruby-version: '2.7'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: 🧪 CLI sanity
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: '📥 Checkout repository'
uses: actions/checkout@v3
- name: '💎 Setup Ruby'
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1.127.0

- name: '🔧 Set versions'
id: versions
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
steps:
- name: '📥 Checkout repository'
uses: actions/checkout@v3
- name: 💎 Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: 💎 Set up Ruby
uses: ruby/setup-ruby@v1.127.0

# - name: 🚀 Publish to GPR
# run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
uses: actions/checkout@v3

- name: 💎 Set up Ruby
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3
uses: ruby/setup-ruby@v1.127.0
with:
ruby-version: 3.1.2
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: 👮 Rubocop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v3

- name: 💎 Set up Ruby
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3
uses: ruby/setup-ruby@v1.127.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.2

0 comments on commit 0fa2446

Please sign in to comment.