Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions-workflow: bump action go version to 1.21 #3761

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

gthao313
Copy link
Member

@gthao313 gthao313 commented Feb 5, 2024

Description of changes:
golangci-lint was broken on go 1.19 version. bump the version in the workflow for golangci-lint to match 1.21.

* can't run linter goanalysis_metalinter: buildir: failed to load package sysenc: could not load export data: no export data for "github.com/cilium/ebpf/internal/sysenc"

Testing done:
See Actions workflow

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@@ -40,7 +40,7 @@ import (
var ecrRegex = regexp.MustCompile(`(^[a-zA-Z0-9][a-zA-Z0-9-_]*)\.dkr\.ecr\.([a-zA-Z0-9][a-zA-Z0-9-_]*)\.amazonaws\.com(\.cn)?.*`)

func init() {
rand.Seed(time.Now().UnixNano())
rand.New(rand.NewSource(time.Now().UnixNano()))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this change on host-ctr PR

@gthao313 gthao313 merged commit 6057f8e into bottlerocket-os:develop Feb 6, 2024
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants