Skip to content

chore: update to go 1.25 + all deps#115

Open
kzantow wants to merge 2 commits intomainfrom
chore/update-deps
Open

chore: update to go 1.25 + all deps#115
kzantow wants to merge 2 commits intomainfrom
chore/update-deps

Conversation

@kzantow
Copy link
Copy Markdown
Contributor

@kzantow kzantow commented Mar 27, 2026

Update all deps + tests; use go-make

kzantow added 2 commits March 27, 2026 15:12
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Comment thread load_test.go

// https://github.com/mitchellh/mapstructure/blob/bf980b35cac4dfd34e05254ee5aba086504c3f96/mapstructure.go#L1338
assert.ErrorContains(t, err, "unsupported type for squash")
require.Panics(t, func() {
Copy link
Copy Markdown
Contributor Author

@kzantow kzantow Mar 27, 2026

Choose a reason for hiding this comment

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

I'm not entirely sure what this test is for - we have already upgraded syft + grype to this version of go-viper/mapstructure and don't have panics because we don't have this scenario of invalid mapstructure tags, but this has changed to a panic, which seems fine to me -- this is always a programming error that needs to be corrected

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.

1 participant