Dave Abrahams

Results 392 comments of Dave Abrahams

I am no expert on the tech underlying this plugin, but to my layman's eye it looks like we are failing [here](https://github.com/swift-actions/setup-swift/blob/main/src/gpg.ts#L12) trying to import non-existent GPG data. Which we...

At least one alternative plugin fails in [exactly the same way](https://github.com/hylo-lang/hylo/actions/runs/5908456060/job/16027915596?pr=908#step:5:148). Not sure what it means yet. I've never failed to get the keys file myself (so far)…

So far, [this](https://github.com/slashmo/install-swift) alternative swift-installation action doesn't seem to be causing these spurious failures. Another workaround I know of is to use a [dev container](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers) in which you've pre-installed swift,...

Heh, not being aware of the nutty details of how shell scripts deal with errors without `-e` (beyond that they are easily ignored in that case), I had wondered whether...

Wow great sleuthing! Definitely worthy of a report to bugs.swift.org! Et voilà: https://github.com/apple/swift/issues/68047

@sanderploegsma Thanks that's an interesting possibility. We currently use a devcontainer because we need an LLVM-15+ installation and a custom .pc file, but the trade-off might be worth it.

> I've seen at least one workflow with `slashmo/install-swift` where it also failed to download the keys with the same error. However, because the install script in that action doesn't...

> @dabrahams in the mean time if you're looking for another workaround that doesn't involve skipping the signature verification, you could consider [using the `swift` Docker image in your action...

@pfusik this is not a setup-swift bug, although perhaps setup-swift could work around it. The place to agitate for a fix is [here](https://github.com/swiftlang/swift/issues/68047).

Even starting with this only gets me past the first error: ``` conformance Int[3]: Collection { public typealias Position = Int public typealias Element = Int public fun start_position() ->...