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

feat: update to go 1.24.x #3660

Merged
merged 4 commits into from
Feb 13, 2025
Merged

feat: update to go 1.24.x #3660

merged 4 commits into from
Feb 13, 2025

Conversation

westonsteimel
Copy link
Contributor

@westonsteimel westonsteimel commented Feb 12, 2025

Description

Update to building with go 1.24.x so that the main module version gets set during go build

Update to building with go 1.24.x so that the main module version gets
set during `go build`

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
@westonsteimel
Copy link
Contributor Author

syft snapshot/darwin-build_darwin_arm64_v8.0/syft | grep syft
 ✔ Indexed file system                                                                                                                                                    snapshot/darwin-build_darwin_arm64_v8.0/syft
 ✔ Cataloged contents                                                                                                                                 6e6c51df82b96de0961c62daa0fb0468eccecab66b7fef0583689c6d427b467f
   ├── ✔ Packages                        [194 packages]
   ├── ✔ File digests                    [1 files]
   ├── ✔ File metadata                   [1 locations]
   └── ✔ Executables                     [1 executables]
github.com/anchore/syft                                        v1.19.1-0.20250212090006-241c2f9b5504  go-module

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
@westonsteimel westonsteimel requested a review from a team February 12, 2025 10:36
@westonsteimel westonsteimel enabled auto-merge (squash) February 12, 2025 10:36
@westonsteimel westonsteimel merged commit dce9954 into main Feb 13, 2025
12 checks passed
@westonsteimel westonsteimel deleted the go-1.24 branch February 13, 2025 15:08
juan131 pushed a commit to juan131/syft that referenced this pull request Feb 14, 2025
* feat: update to go 1.24.x

Update to building with go 1.24.x so that the main module version gets
set during `go build`

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>

* chore: bump golangci-lint for go 1.24.x support

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>

* chore: appease the updated linter

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>

* chore: fix test logging for go 1.24

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>

---------

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
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.

2 participants