Skip to content

HA: Use sync/atomic#Pointer instead of our own wrapper #3327

HA: Use sync/atomic#Pointer instead of our own wrapper

HA: Use sync/atomic#Pointer instead of our own wrapper #3327

Triggered via pull request September 18, 2024 09:26
Status Success
Total duration 2m 52s
Artifacts

go.yml

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

Annotations

20 errors and 14 warnings
build-test (ubuntu-latest): pkg/contracts/contracts.go#L25
can inline SafeInit
build-test (ubuntu-latest): pkg/icingaredis/v1/stats_message.go#L12
can inline StatsMessage.Raw
build-test (ubuntu-latest): pkg/icingaredis/v1/stats_message.go#L12
leaking param: m to result ~r0 level=0
build-test (ubuntu-latest): pkg/icingaredis/v1/stats_message.go#L27
([]byte)(s) escapes to heap
build-test (ubuntu-latest): pkg/icingaredis/v1/stats_message.go#L34
... argument does not escape
build-test (macos-latest): pkg/contracts/contracts.go#L25
can inline SafeInit
build-test (macos-latest): pkg/icingadb/types/acknowledgement_state.go#L45
can inline badAcknowledgementState
build-test (macos-latest): pkg/icingadb/types/acknowledgement_state.go#L15
can inline (*AcknowledgementState).UnmarshalText
build-test (macos-latest): pkg/icingadb/types/comment_type.go#L64
can inline badCommentType
build-test (macos-latest): pkg/icingadb/types/notification_states.go#L49
can inline badNotificationStates
build-test (macos-latest): pkg/icingadb/types/notification_states.go#L35
can inline (*NotificationStates).UnmarshalText
build-test (macos-latest): pkg/icingadb/types/notification_type.go#L47
can inline badNotificationType
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
vet
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
vet
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
vendor-diff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
vendor-diff
Restore cache failed: Dependencies file is not found in /home/runner/work/icingadb/icingadb. Supported file pattern: go.sum
modtidy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
modtidy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/