fix(deps): pin onepassword-sdk-go to v0.3.1 to unbreak release#24
Merged
Conversation
…mpile v0.4.0 introduced WithDesktopAppIntegration that emits a deliberate compile error under !cgo on darwin/linux, breaking goreleaser builds. helmfile/vals only requires v0.3.1, so downgrade. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
onepassword-sdk-goを v0.4.0 → v0.3.1 にダウングレードして goreleaser のクロスコンパイル失敗を解消WithDesktopAppIntegrationが//go:build !cgo && (darwin || linux)の分岐で意図的なコンパイルエラー (ERROR_WithDesktopAppIntegration_requires_CGO_To_Cross_Compile_See_README_CGO_Section) を埋め込んでおり、CGO_ENABLED=0のクロスビルドが失敗するhelmfile/vals v0.44.0の onepassword provider は v0.3.1 で十分 (WithServiceAccountToken/WithIntegrationInfoのみ利用) のため、ダウングレードしても影響なし。#23 update-allで v0.4.0 に上がったのが原因Test plan
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go buildを確認CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go buildを確認v0.1.0タグを付け直し、release workflow が成功することを確認🤖 Generated with Claude Code