Skip to content

build(deps): bump github/codeql-action from 4.31.9 to 4.31.10 (#5226) #329

build(deps): bump github/codeql-action from 4.31.9 to 4.31.10 (#5226)

build(deps): bump github/codeql-action from 4.31.9 to 4.31.10 (#5226) #329

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Ruby
uses: ruby/setup-ruby@4c24fa5ec04b2e79eb40571b1cee2a0d2b705771 # v1.278.0
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: |
bundle install
gem install rubocop-performance
- name: Run RuboCop
run: rubocop