An error occurred while fetching this tab.
Updates fastzip
so that it's compatible with newer versions of klauspost/compress
, which updated a now deprecated call incorrectly: https://github.com/klauspost/compress/pull/502
Newer versions of fastzip no longer use the deprecated function, so has fixed the issue, without requiring https://github.com/klauspost/compress/pull/502 to be merged yet.
Includes a test that produces an artifact and then extracts it, testing the content matches.
Fastzip was creating malformed zip files.
# works fine
go test -v -run TestZipArchiveExtract ./commands/helpers
# downgrade to a non-fixed fastzip + a non-fixed klauspost/compress
go get -u github.com/saracen/fastzip@v0.1.6 github.com/klauspost/compress@v1.13.6
# test should now fail
go test -v -run TestZipArchiveExtract ./commands/helpers
Closes #28903 (closed)