Des problèmes avec robocop et le linting ?
J’ai ceci dans mon workflow, qui est en grande partie copié de
name: Discourse Plugin
on:
push:
branches:
- main
- master
schedule:
- cron: 22 05 * * *
jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
et mon job échoue comme ceci :
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.
Je ne sais pas où trouver discourse/.github/.github/workflows/discourse-plugin.yml@v1 pour voir ce qu’il fait.
Mais je ne pense pas qu’aucun de mes autres workflows échoue. Est-ce que cela ne fonctionne pas parce qu’il s’exécute selon un calendrier ?