mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-02-19 19:51:59 +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
|
permissions: read-all
|
||||||
|
|
||||||
|
env:
|
||||||
|
HOMEBREW_DEVELOPER: 1
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
|
HOMEBREW_NO_ENV_HINTS: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-bot:
|
test-bot:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -26,6 +31,12 @@ jobs:
|
|||||||
actions: read
|
actions: read
|
||||||
|
|
||||||
steps:
|
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
|
- name: Set up Homebrew
|
||||||
id: set-up-homebrew
|
id: set-up-homebrew
|
||||||
uses: Homebrew/actions/setup-homebrew@main
|
uses: Homebrew/actions/setup-homebrew@main
|
||||||
@@ -38,6 +49,7 @@ jobs:
|
|||||||
restore-keys: ${{ runner.os }}-rubygems-
|
restore-keys: ${{ runner.os }}-rubygems-
|
||||||
|
|
||||||
- name: Install Homebrew Bundler RubyGems
|
- name: Install Homebrew Bundler RubyGems
|
||||||
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: brew install-bundler-gems
|
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
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@cf7216d52fba1017929b4d7162fabe2b30af5b49 # v1.262.0
|
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
|
||||||
with:
|
with:
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
ruby-version-file: .ruby-version
|
||||||
|
|
||||||
- name: Parse Formulae and Build Site
|
- name: Parse Formulae and Build Site
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user