Skip to content

Commit

Permalink
Use GitHub Actions Ubuntu 22.04
Browse files Browse the repository at this point in the history
It has `brew` in the `PATH`.

Also, while we're here, fix `actions/setup-ruby` deprecation.
  • Loading branch information
MikeMcQuaid committed Sep 26, 2022
1 parent d314eda commit 75a4b9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
jobs:
generate:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Git repository
uses: actions/checkout@main
Expand All @@ -31,7 +31,7 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master

- name: Set up Ruby
uses: actions/setup-ruby@main
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Git repository
uses: actions/checkout@main
Expand All @@ -21,7 +21,7 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master

- name: Set up Ruby
uses: actions/setup-ruby@main
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'stale')
)
)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Mark/Close Stale Issues and Pull Requests
uses: actions/stale@v6
Expand All @@ -54,7 +54,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'stale')
)
)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests
uses: actions/stale@v6
Expand All @@ -71,7 +71,7 @@ jobs:

lock-threads:
if: startsWith(github.repository, 'Homebrew/') && github.event_name != 'issue_comment'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Lock Outdated Threads
uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6
Expand Down

0 comments on commit 75a4b9c

Please sign in to comment.