Skip to content

Commit

Permalink
Merge pull request #605 from Homebrew/ruby-3.1
Browse files Browse the repository at this point in the history
workflows: try use Ruby 3.1
  • Loading branch information
MikeMcQuaid committed Nov 3, 2023
2 parents a3f99d3 + da2e66c commit 48f3a84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Set up Git repository
uses: actions/checkout@main
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -33,12 +33,8 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"

- name: Install RubyGems
run: |
gem install bundler -v "~>1"
bundle install --jobs 4 --retry 3
ruby-version: "3.1"
bundler-cache: true

- name: Configure Git user
uses: Homebrew/actions/git-user-config@master
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Set up Git repository
uses: actions/checkout@main
uses: actions/checkout@v4

- name: Set up Homebrew
id: set-up-homebrew
Expand All @@ -23,12 +23,8 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"

- name: Install RubyGems
run: |
gem install bundler -v "~>1"
bundle install --jobs 4 --retry 3
ruby-version: "3.1"
bundler-cache: true

- name: Generate site
run: |
Expand Down

0 comments on commit 48f3a84

Please sign in to comment.