Bump rails-i18n and rails #1128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rails tools | |
on: | |
pull_request: | |
types: [opened,synchronize] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
i18n_tasks: | |
name: I18n | |
permissions: | |
contents: read | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: .ruby-version | |
- name: Checking I18n health | |
run: bundle exec i18n-tasks health | |
rails_best_practices: | |
name: Rails Best Practices | |
permissions: | |
contents: read | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: .ruby-version | |
- name: Checking Rails Best Practices | |
run: bundle exec rails_best_practices | |
zeitwerk: | |
name: Zeitwerk | |
permissions: | |
contents: read | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Download system package lists | |
run: sudo apt-get update | |
- name: Install system dependencies | |
run: sudo apt-get install -y --no-install-recommends libvips42 | |
shell: bash | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: .ruby-version | |
- name: Checking Zeitwerk | |
run: bundle exec rails zeitwerk:check |