Skip to content

Remove duplicated code and move duplicated strings to const #3184

Remove duplicated code and move duplicated strings to const

Remove duplicated code and move duplicated strings to const #3184

Triggered via pull request August 9, 2023 14:02
Status Success
Total duration 11m 57s
Artifacts

static.yml

on: pull_request
Ensure that code is gofmt-ed
22s
Ensure that code is gofmt-ed
Ensure there are no duplicate package imports
5m 8s
Ensure there are no duplicate package imports
Ensure that code passes gosec and golint
11m 46s
Ensure that code passes gosec and golint
Ensure Go modules synchronicity
1m 7s
Ensure Go modules synchronicity
Run db-migration tests
1m 56s
Run db-migration tests
Check if migration schema matches with super schema.
2m 33s
Check if migration schema matches with super schema.
Check if migrations work as expected when applied to most recent two migrations.
2m 13s
Check if migrations work as expected when applied to most recent two migrations.
Run unit tests for Go packages
9m 51s
Run unit tests for Go packages
Ensure that manifests are up-to-date
1m 24s
Ensure that manifests are up-to-date
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
Ensure that code is gofmt-ed
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Ensure Go modules synchronicity
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Ensure that manifests are up-to-date
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Run db-migration tests
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Check if migrations work as expected when applied to most recent two migrations.
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Check if migration schema matches with super schema.
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Ensure there are no duplicate package imports
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Run unit tests for Go packages
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum
Ensure that code passes gosec and golint
Restore cache failed: Dependencies file is not found in /home/runner/work/managed-gitops/managed-gitops. Supported file pattern: go.sum