Skip to content

feat(resource.lic): v1.13.0 Add read-only FIXSKILLS service bonus planner #755

feat(resource.lic): v1.13.0 Add read-only FIXSKILLS service bonus planner

feat(resource.lic): v1.13.0 Add read-only FIXSKILLS service bonus planner #755

name: Valid Ruby Syntax
on:
push:
branches:
- master
paths:
- 'scripts/**'
- 'type_data/migrations/**'
pull_request:
paths:
- 'scripts/**'
- 'type_data/migrations/**'
jobs:
check_syntax:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: 'gtk:vscode:profanity'
name: Run tests on Ruby
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: step-security/changed-files@2e07db73e5ccdb319b9a6c7766bd46d39d304bad # v47.0.5
with:
files: |
**/*.lic
**/*.rb
- uses: ruby/setup-ruby@0dafeac902942906541bc140009cdbf32665b601 # v1.315.0
with:
bundler-cache: true
- name: Run Ruby syntax check on changed scripts
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
ruby -c $file
done