Skip to content

Update Go version and dependencies in workflow and module files#5

Merged
012xx merged 2 commits intomainfrom
update-dependency
Mar 13, 2025
Merged

Update Go version and dependencies in workflow and module files#5
012xx merged 2 commits intomainfrom
update-dependency

Conversation

@012xx
Copy link
Copy Markdown
Contributor

@012xx 012xx commented Mar 10, 2025

Overview

Update Go version and dependencies in workflow and module files.

What

  • Updated Go version to v1.24.
  • Changed runs-on to ubuntu-24.04.
  • Updated to actions/setup-go@v5 and actions/checkout@v4.
  • Updated JSONNET_VERSION to v0.20.0.
    • Added importbin functionality and expanded the standard library. There are some breaking changes, but they don't seem relevant based on my review.
  • Updated GOLANGCI_VERSION to v1.64.6.
    • The main change is the addition of a new linter. No breaking changes were observed.
  • Updated go.mod.
  • Removed io/ioutil.
    • The io/ioutil package has been deprecated since Go 1.16, and its functionality has been moved to the os package.
    • Replaced ioutil.ReadFile with os.ReadFile to utilize the latest standard library without deprecated functions.
  • Fixed usage of errors.
    • The second argument of errors.As must be a non-nil pointer to a type that implements the error interface or any interface type.

@012xx 012xx marked this pull request as draft March 10, 2025 10:00
@012xx 012xx self-assigned this Mar 10, 2025
@012xx 012xx marked this pull request as ready for review March 10, 2025 10:31
@gokken-roko gokken-roko requested a review from rkwmt March 11, 2025 01:22
Copy link
Copy Markdown

@rkwmt rkwmt left a comment

Choose a reason for hiding this comment

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

LGTM

@012xx 012xx merged commit bc154d6 into main Mar 13, 2025
2 checks passed
@012xx 012xx deleted the update-dependency branch March 13, 2025 11:23
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.

4 participants