Skip to content

fix(map.lic): v2.1.1 gtk crash fix #5235

fix(map.lic): v2.1.1 gtk crash fix

fix(map.lic): v2.1.1 gtk crash fix #5235

name: Rubocop
on:
push:
branches:
- master
paths:
- 'scripts/**'
- 'type_data/migrations/**'
pull_request:
paths:
- 'scripts/**'
- 'type_data/migrations/**'
jobs:
rubocop:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: 'gtk:vscode:profanity'
name: Run Rubocop on Ruby
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: step-security/changed-files@60967b822d3001fa82242f8d6b4ed46bc3600a68 # v47.0.1
with:
files: |
**/*.lic
**/*.rb
- uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1.295.0
with:
bundler-cache: true
- name: Rubocop
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
bundle exec rubocop $file
done