Skip to content

Rewrite the CLI

Rewrite the CLI #1

Triggered via pull request December 4, 2025 17:14
@zereboszerebos
opened #5
rewrite
Status Failure
Total duration 2m 11s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 3 warnings
test (ubuntu-latest, 1.20)
Process completed with exit code 1.
test (ubuntu-latest, 1.20): internal/discord/paths.go#L6
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices)
test (macos-latest, 1.20)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (ubuntu-latest, 1.19)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (ubuntu-latest, 1.19)
The operation was canceled.
test (macos-latest, 1.19)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (macos-latest, 1.19)
The operation was canceled.
test (macos-latest, 1.21)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (macos-latest, 1.21)
The operation was canceled.
test (windows-latest, 1.21)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (windows-latest, 1.21)
The operation was canceled.
test (windows-latest, 1.20)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (windows-latest, 1.20)
The operation was canceled.
test (windows-latest, 1.19)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (windows-latest, 1.19)
The operation was canceled.
test (ubuntu-latest, 1.21)
The strategy configuration was canceled because "test.ubuntu-latest_1_20" failed
test (ubuntu-latest, 1.21)
The operation was canceled.
test (ubuntu-latest, 1.21): internal/discord/install.go#L16
struct field isSnap has json tag but is not exported
test (ubuntu-latest, 1.21): internal/discord/install.go#L15
struct field isFlatpak has json tag but is not exported
test (ubuntu-latest, 1.21): internal/discord/install.go#L14
struct field version has json tag but is not exported
test (ubuntu-latest, 1.21): internal/discord/install.go#L13
struct field channel has json tag but is not exported
test (ubuntu-latest, 1.21): internal/discord/install.go#L12
struct field corePath has json tag but is not exported
lint
issues found
lint: internal/discord/install.go#L16
structtag: struct field isSnap has json tag but is not exported (govet)
lint: internal/discord/install.go#L15
structtag: struct field isFlatpak has json tag but is not exported (govet)
lint: internal/discord/install.go#L14
structtag: struct field version has json tag but is not exported (govet)
lint: internal/discord/install.go#L13
structtag: struct field channel has json tag but is not exported (govet)
lint: internal/discord/install.go#L12
structtag: struct field corePath has json tag but is not exported (govet)
lint: internal/utils/download.go#L76
Error return value of `(*encoding/json.Decoder).Decode` is not checked (errcheck)
lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0kMExaQAAAACP3CA5Fv1bRo/qA4fem1ZvQ0hHRURHRTE5MTUARWRnZQ==
lint
Failed to restore: Cache service responded with 400
build
You are using 'latest' as default version. Will lock to '~> v2'.