Merge pull request #17353 from Homebrew/rubocop_ruby_version
Include more Ruby metadata files
This commit is contained in:
commit
1c71732172
10
.github/workflows/docs.yml
vendored
10
.github/workflows/docs.yml
vendored
@ -9,6 +9,13 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
HOMEBREW_DEVELOPER: 1
|
||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||
HOMEBREW_NO_ENV_HINTS: 1
|
||||
HOMEBREW_BOOTSNAP: 1
|
||||
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
||||
|
||||
jobs:
|
||||
linting:
|
||||
if: github.repository == 'Homebrew/brew'
|
||||
@ -45,7 +52,6 @@ jobs:
|
||||
- name: Install Ruby
|
||||
uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1
|
||||
with:
|
||||
ruby-version: "3.1"
|
||||
bundler-cache: true
|
||||
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}/docs
|
||||
|
||||
@ -85,8 +91,8 @@ jobs:
|
||||
- name: Install Ruby
|
||||
uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1
|
||||
with:
|
||||
ruby-version: "3.1"
|
||||
bundler-cache: true
|
||||
working-directory: rubydoc
|
||||
|
||||
- name: Process rubydoc comments
|
||||
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}/Library/Homebrew
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -173,9 +173,10 @@
|
||||
!/.editorconfig
|
||||
!/.gitignore
|
||||
!/.irb_config
|
||||
!/.yardopts
|
||||
!/.vale.ini
|
||||
!/.ruby-version
|
||||
!/.shellcheckrc
|
||||
!/.vale.ini
|
||||
!/.yardopts
|
||||
!/CHANGELOG.md
|
||||
!/CONTRIBUTING.md
|
||||
!/Dockerfile
|
||||
|
||||
1
.ruby-version
Normal file
1
.ruby-version
Normal file
@ -0,0 +1 @@
|
||||
3.3.1
|
||||
1
docs/.ruby-version
Normal file
1
docs/.ruby-version
Normal file
@ -0,0 +1 @@
|
||||
3.3.1
|
||||
@ -1,5 +1,7 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
ruby file: ".ruby-version"
|
||||
|
||||
gem "github-pages", group: :jekyll_plugins
|
||||
|
||||
group :test do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user