mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-01-26 11:24:02 +00:00
fix(ci): setup ruby
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -12,6 +12,11 @@ concurrency:
|
||||
|
||||
permissions: read-all
|
||||
|
||||
env:
|
||||
HOMEBREW_DEVELOPER: 1
|
||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||
HOMEBREW_NO_ENV_HINTS: 1
|
||||
|
||||
jobs:
|
||||
test-bot:
|
||||
strategy:
|
||||
@@ -26,6 +31,12 @@ jobs:
|
||||
actions: read
|
||||
|
||||
steps:
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
|
||||
with:
|
||||
bundler-cache: true
|
||||
ruby-version-file: .ruby-version
|
||||
|
||||
- name: Set up Homebrew
|
||||
id: set-up-homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@main
|
||||
@@ -38,6 +49,7 @@ jobs:
|
||||
restore-keys: ${{ runner.os }}-rubygems-
|
||||
|
||||
- name: Install Homebrew Bundler RubyGems
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: brew install-bundler-gems
|
||||
|
||||
|
||||
3
.github/workflows/pages-build.yml
vendored
3
.github/workflows/pages-build.yml
vendored
@@ -31,9 +31,10 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@cf7216d52fba1017929b4d7162fabe2b30af5b49 # v1.262.0
|
||||
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
|
||||
with:
|
||||
bundler-cache: true
|
||||
ruby-version-file: .ruby-version
|
||||
|
||||
- name: Parse Formulae and Build Site
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user