Skip to content

Add Postgres Support #142

Add Postgres Support

Add Postgres Support #142

Triggered via pull request February 26, 2024 18:01
Status Failure
Total duration 1m 34s
Artifacts

main.yml

on: pull_request
Matrix: test-linux
Matrix: test-other
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 warnings
test-linux (1.22): persist/postgres/peers.go#L176
unnecessary trailing newline (whitespace)
test-linux (1.22)
issues found
test-other (macos-latest, 1.22): persist/postgres/peers.go#L176
unnecessary trailing newline (whitespace)
test-other (macos-latest, 1.22)
issues found
test-linux (1.21)
The job was canceled because "_1_22" failed.
test-other (macos-latest, 1.21)
The job was canceled because "macos-latest_1_22" failed.
test-other (windows-latest, 1.22)
The job was canceled because "macos-latest_1_22" failed.
test-other (windows-latest, 1.21)
The job was canceled because "macos-latest_1_22" failed.
test-linux (1.22): persist/postgres/store.go#L16
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
test-linux (1.22): persist/postgres/store.go#L20
exported: exported type ConnectionInfo should have comment or be unexported (revive)
test-linux (1.22): persist/postgres/peers.go#L156
unexported-return: exported method Bans returns unexported type []postgres.ban, which can be annoying to use (revive)
test-linux (1.22)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-other (macos-latest, 1.22): persist/postgres/store.go#L20
exported: exported type ConnectionInfo should have comment or be unexported (revive)
test-other (macos-latest, 1.22): persist/postgres/peers.go#L156
exported: exported method Store.Bans should have comment or be unexported (revive)
test-other (macos-latest, 1.22): persist/postgres/store.go#L16
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
test-other (macos-latest, 1.22)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.