Skip to content

ci: add test, fmt, lint workflows #23

ci: add test, fmt, lint workflows

ci: add test, fmt, lint workflows #23

Triggered via pull request December 16, 2024 04:32
Status Failure
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
format
Process completed with exit code 2.
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L100
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L114
There should be no space before and one after any comma (comma)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L118
There should be no space before and one after any comma (comma)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L157
There should be no space before and one after any comma (comma)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L161
There should be no space before and one after any comma (comma)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L250
There should be no space before and one after any comma (comma)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L21
Variable name 's' should be between 3 and 40 characters long (identifier_name)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L22
Variable name 'r' should be between 3 and 40 characters long (identifier_name)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L39
Variable name 's' should be between 3 and 40 characters long (identifier_name)
lint: Coder Desktop/ProtoTests/ProtoTests.swift#L40
Variable name 'r' should be between 3 and 40 characters long (identifier_name)
format
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.320.0. Please update to the latest version 2.321.0
format: Coder Desktop/Proto/Receiver.swift#L2
Sort import statements alphabetically. (sortImports)
format: Coder Desktop/Proto/Receiver.swift#L3
Sort import statements alphabetically. (sortImports)
format: Coder Desktop/Proto/Receiver.swift#L22
Add space inside curly braces. (spaceInsideBraces)
format: Coder Desktop/Proto/Receiver.swift#L42
Add space inside curly braces. (spaceInsideBraces)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L1
Sort import statements alphabetically. (sortImports)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L2
Sort import statements alphabetically. (sortImports)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L12
Remove trailing space at end of a line. (trailingSpace)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L28
Remove trailing space at end of a line. (trailingSpace)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L31
Insert/remove explicit self where applicable. (redundantSelf)
format: Coder Desktop/ProtoTests/SpeakerTests.swift#L35
Insert/remove explicit self where applicable. (redundantSelf)
lint
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.320.0. Please update to the latest version 2.321.0