[Fix #1389] Handle TypeError
caused by passing array literals as arguments to File
methods in Rails/RootPathnameMethods
cop
#1157
Workflow file for this run
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: Linting | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint-ruby: | |
name: Ruby | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby # Latest stable CRuby version | |
bundler-cache: true | |
- name: internal_investigation | |
run: bundle exec rake internal_investigation | |
lint-yaml: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: write # for karancode/yamllint-github-action to post comments on PRs | |
name: Yaml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Yamllint | |
uses: karancode/yamllint-github-action@v3.0.0 | |
with: | |
yamllint_strict: true | |
yamllint_format: parsable | |
yamllint_comment: true | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |