Skip to content

Add approved and publish fields to validate courses before display them #135

Add approved and publish fields to validate courses before display them

Add approved and publish fields to validate courses before display them #135

Triggered via pull request December 5, 2024 23:10
Status Failure
Total duration 54s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
scan_ruby
Process completed with exit code 5.
lint: app/models/course.rb#L12
Layout/SpaceInsideBlockBraces: Space missing inside {.
lint: config/initializers/devise.rb#L27
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
lint: config/initializers/devise.rb#L39
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
lint: config/initializers/devise.rb#L61
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/devise.rb#L61
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/devise.rb#L66
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/devise.rb#L66
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/devise.rb#L100
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/devise.rb#L100
Layout/SpaceInsideArrayLiteralBrackets: Use space inside array brackets.
lint: config/initializers/simple_form_bootstrap.rb#L16
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
test
Process completed with exit code 1.
scan_js
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
scan_ruby
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636