Skip to content

Bump rubocop-govuk from 5.0.2 to 5.0.3 #10588

Bump rubocop-govuk from 5.0.2 to 5.0.3

Bump rubocop-govuk from 5.0.2 to 5.0.3 #10588

Triggered via pull request November 20, 2024 14:52
Status Failure
Total duration 6m 20s
Artifacts 1

ci.yml

on: pull_request
Matrix: Test features / feature-test-matrix
Matrix: Test Ruby / minitest-matrix
CodeQL SAST scan  /  Analyze
1m 57s
CodeQL SAST scan / Analyze
Dependency Review scan  /  dependency-review-pr
5s
Dependency Review scan / dependency-review-pr
Dependency Review scan  /  dependency-review-push
0s
Dependency Review scan / dependency-review-push
Security Analysis  /  Run Brakeman
39s
Security Analysis / Run Brakeman
Lint SCSS  /  Run Stylelint
13s
Lint SCSS / Run Stylelint
Lint JavaScript  /  Run Standardx
16s
Lint JavaScript / Run Standardx
Prettier  /  Run Prettier
14s
Prettier / Run Prettier
Lint Ruby  /  Run RuboCop
39s
Lint Ruby / Run RuboCop
Lint ERB  /  Run ERB lint
45s
Lint ERB / Run ERB lint
Test JavaScript  /  Run Jasmine
36s
Test JavaScript / Run Jasmine
Test features  /  Run Cucumber
0s
Test features / Run Cucumber
Test Ruby  /  Run Minitest
0s
Test Ruby / Run Minitest
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Lint Ruby / Run RuboCop: app/models/republishing_event.rb#L20
Rails/EnumHash: Enum defined as an array found in `bulk_content_type` enum declaration. Use hash syntax instead. (https://rails.rubystyle.guide#enums)
Lint Ruby / Run RuboCop: app/presenters/publishing_api/person_presenter.rb#L39
Lint/SafeNavigationConsistency: Use `.` instead of unnecessary `&.`.
Lint Ruby / Run RuboCop: app/presenters/publishing_api/take_part_presenter.rb#L47
Lint/SafeNavigationConsistency: Use `.` instead of unnecessary `&.`.
Lint Ruby / Run RuboCop: db/migrate/20240701080000_migrate_worldwide_organisations_to_editions.rb#L344
Lint/Void: Variable `create_exists` used in void context.
Lint Ruby / Run RuboCop
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
brakeman-json
3.21 KB