Trouble with robocop and linting?
I’ve got this in my workflow, that is mostly copied from
name: Discourse Plugin
on:
push:
branches:
- main
- master
schedule:
- cron: 22 05 * * *
jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
and my job is failing like this:
Run bundle exec rubocop .
vendor/bundle/ruby/3.1.0/gems/rubocop-discourse-3.3.0/rubocop-rspec.yml: RSpec/FactoryBot/AttributeDefinedStatically has the wrong namespace - should be FactoryBot
vendor/bundle/ruby/3.1.0/gems/rubocop-discourse-3.3.0/rubocop-rspec.yml: RSpec/FactoryBot/CreateList has the wrong namespace - should be FactoryBot
vendor/bundle/ruby/3.1.0/gems/rubocop-discourse-3.3.0/rubocop-rspec.yml: RSpec/FactoryBot/FactoryClassName has the wrong namespace - should be FactoryBot
Error: The `RSpec/FilePath` cop has been split into `RSpec/SpecFilePathFormat` and `RSpec/SpecFilePathSuffix`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/rubocop-discourse-3.3.0/rubocop-rspec.yml, please update it)
Error: Process completed with exit code 2.
I don’t know where to find discourse/.github/.github/workflows/discourse-plugin.yml@v1
to see what it’s doing.
But I don’t think any of my other ones are failing. Is it somehow not working because it’s running on a schedule?