Skip to content

Attachment background processing #2499

Attachment background processing

Attachment background processing #2499

Triggered via pull request August 3, 2023 13:15
Status Success
Total duration 1m 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: spec/controllers/attachments_controller_spec.rb#L432
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/DotPosition: Place the . on the previous line, together with the method call receiver. (https://rubystyle.guide#consistent-multi-line-chains) Raw Output: spec/controllers/attachments_controller_spec.rb:432:9: C: [Correctable] Layout/DotPosition: Place the . on the previous line, together with the method call receiver. (https://rubystyle.guide#consistent-multi-line-chains) .to raise_error(ActiveRecord::RecordNotFound) ^
build: spec/controllers/attachments_controller_spec.rb#L438
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/DotPosition: Place the . on the previous line, together with the method call receiver. (https://rubystyle.guide#consistent-multi-line-chains) Raw Output: spec/controllers/attachments_controller_spec.rb:438:9: C: [Correctable] Layout/DotPosition: Place the . on the previous line, together with the method call receiver. (https://rubystyle.guide#consistent-multi-line-chains) .to raise_error(ActiveRecord::RecordNotFound) ^
build: spec/lib/attachment_to_html/adapters/rtf_spec.rb#L64
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/LineLength: Line is too long. [91/80] (https://rubystyle.guide#max-line-length) Raw Output: spec/lib/attachment_to_html/adapters/rtf_spec.rb:64:81: C: [Correctable] Layout/LineLength: Line is too long. [91/80] (https://rubystyle.guide#max-line-length) attachment = FactoryBot.create(:rtf_attachment, body: load_file_fixture('empty.rtf')) ^^^^^^^^^^^
build: spec/lib/attachment_to_html/attachment_to_html_spec.rb#L41
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/LineLength: Line is too long. [89/80] (https://rubystyle.guide#max-line-length) Raw Output: spec/lib/attachment_to_html/attachment_to_html_spec.rb:41:81: C: [Correctable] Layout/LineLength: Line is too long. [89/80] (https://rubystyle.guide#max-line-length) attachment = FactoryBot.create(:body_text, content_type: 'application/vnd.ms-word') ^^^^^^^^^
build: spec/lib/attachment_to_html/attachment_to_html_spec.rb#L47
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/LineLength: Line is too long. [82/80] (https://rubystyle.guide#max-line-length) Raw Output: spec/lib/attachment_to_html/attachment_to_html_spec.rb:47:81: C: [Correctable] Layout/LineLength: Line is too long. [82/80] (https://rubystyle.guide#max-line-length) attachment = FactoryBot.create(:body_text, content_type: 'application/json') ^^
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/