Skip to content

build(deps): bump ruby/setup-ruby from 1.287.0 to 1.288.0 (#5254) #416

build(deps): bump ruby/setup-ruby from 1.287.0 to 1.288.0 (#5254)

build(deps): bump ruby/setup-ruby from 1.287.0 to 1.288.0 (#5254) #416

Workflow file for this run

name: RucoCop Security & Performance Check
on:
push:
paths-ignore:
- '*.md'
- 'lib/fluent/version.rb'
pull_request:
paths-ignore:
- '*.md'
- 'lib/fluent/version.rb'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
permissions: read-all
jobs:
rubocop:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
ruby-version: ['4.0']
name: Ruby ${{ matrix.ruby-version }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: |
bundle install
gem install rubocop-performance
- name: Run RuboCop
run: rubocop