Skip to content

ci: add test, fmt, lint workflows #6

ci: add test, fmt, lint workflows

ci: add test, fmt, lint workflows #6

Triggered via pull request December 16, 2024 03:11
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 13 warnings
test
Process completed with exit code 2.
format
Process completed with exit code 2.
lint: VPN/PacketTunnelProvider.swift#L5
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: VPN/PacketTunnelProvider.swift#L8
Lines should not have trailing whitespace (trailing_whitespace)
lint: VPN/PacketTunnelProvider.swift#L13
Lines should not have trailing whitespace (trailing_whitespace)
lint: VPN/PacketTunnelProvider.swift#L20
Lines should not have trailing whitespace (trailing_whitespace)
lint: VPN/PacketTunnelProvider.swift#L25
Lines should not have trailing whitespace (trailing_whitespace)
lint: Coder DesktopUITests/Coder_DesktopUITests.swift#L10
Line should be 120 characters or less; currently it has 182 characters (line_length)
lint: Coder DesktopUITests/Coder_DesktopUITestsLaunchTests.swift#L4
Prefer `static` over `class` in a final class (static_over_final_class)
lint: ProtoTests/SpeakerTests.swift#L50
Variable name 'v' should be between 3 and 40 characters long (identifier_name)
lint: ProtoTests/SpeakerTests.swift#L61
Variable name 's' should be between 3 and 40 characters long (identifier_name)
lint: ProtoTests/SpeakerTests.swift#L79
Variable name 's' should be between 3 and 40 characters long (identifier_name)
test
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
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/Coder Desktop/Theme.swift#L10
Insert blank line before class, struct, enum, extension, protocol or function declarations. (blankLinesBetweenScopes)
format: Coder Desktop/Coder DesktopTests/Util.swift#L70
Mark unused function arguments with _. (unusedArguments)
format: Coder Desktop/Coder DesktopTests/Util.swift#L71
Mark unused function arguments with _. (unusedArguments)
format: Coder Desktop/Coder DesktopTests/Util.swift#L76
Remove whitespace inside empty braces. (emptyBraces)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L3
Remove leading blank line at the start of a scope. (blankLinesAtStartOfScope)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L5
Add or remove space around operators or delimiters. (spaceAroundOperators)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L5
Mark unused function arguments with _. (unusedArguments)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L8
Remove trailing space at end of a line. (trailingSpace)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L9
Mark unused function arguments with _. (unusedArguments)
format: Coder Desktop/VPN/PacketTunnelProvider.swift#L13
Remove trailing space at end of a line. (trailingSpace)
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