Skip to content

Automated Carthage checks fail when file is deleted #497

@mloit

Description

@mloit

Looks like the Carthage check is using a stale cached filelist instead of what is actually in the package [after the commit]

This is the failing output that happens, when a commit tries to delete a file.

error: Build input file cannot be found: '/Users/runner/work/web3swift/web3swift/Sources/web3swift/Promises/Promise+Web3+Contract+GetIndexedEvents.swift' (in target 'web3swift' from project 'web3swift')

in this case Promises/Promise+Web3+Contract+GetIndexedEvents.swift is an empty file containing only

//  web3swift
//
//  Created by Alex Vlasov.
//  Copyright © 2018 Alex Vlasov. All rights reserved.
//


// placeholder

so it can't be a dependency of any other code, as it doesn't implement or define anything. I suspect Carthage is using some cached list. While it is definitely problem with removals, it may also be a problem with additions.

See #496 for more details

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions