Fix enum-ish type for manifests #109
Annotations
5 errors and 1 warning
Build Go 1.19:
archival/v2archive/reader.go#L107
invalid operation: manifest.Version == ManifestVersionV1 (mismatched types int and ManifestVersionVal)
|
Build Go 1.19:
archival/v2archive/reader.go#L109
cannot use ManifestVersionV2 (constant 2 of type ManifestVersionVal) as type int in assignment
|
Build Go 1.19:
archival/v2archive/reader.go#L112
invalid operation: manifest.Version != ManifestVersionV2 (mismatched types int and ManifestVersionVal)
|
Build Go 1.19:
archival/v2archive/writer.go#L240
cannot use ManifestVersion (constant 2 of type ManifestVersionVal) as type int in struct literal
|
Build Go 1.19
Process completed with exit code 2.
|
Build Go 1.19
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|