diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 5d34de7..fa841c8 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0c538bc..82ea6db 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/gem-push.yml b/.github/workflows/gem-push.yml index bbce892..41fc173 100644 --- a/.github/workflows/gem-push.yml +++ b/.github/workflows/gem-push.yml @@ -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: | diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 228a8f2..c55d3bc 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 76be618..6bdb981 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..ef538c2 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.2