Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOSSA action is broken #4581

Closed
3flex opened this issue Feb 13, 2022 · 3 comments
Closed

FOSSA action is broken #4581

3flex opened this issue Feb 13, 2022 · 3 comments
Labels

Comments

@3flex
Copy link
Member

3flex commented Feb 13, 2022

Expected Behavior

FOSSA action works on new commits to main branch.

Observed Behavior

It's failing.

Steps to Reproduce

Merge to main.

Context

detekt uses Gradle 7.4 wrapper. fossa-cli is supposed to run Gradle using the wrapper in the project. It's running Gradle 7.3.3 for some reason which doesn't support some of the new build script declarations introduced in #4576.

This looks like a fossa-action or fossa-cli bug but I haven't investigated further.

@cortinico
Copy link
Member

Reported upstream here fossas/fossa-action#18
If we see no movements there, we might have to revert to use a REST call rather than a Github Action.

@3flex
Copy link
Member Author

3flex commented Apr 4, 2022

I think the original issue is resolved - the build no longer fails because notCompatibleWithConfigurationCache is used in detekt's build files, indicating the right Gradle version is used when fossa-action runs.

Now it's failing when the configuration cache is enabled because the build script injected by fossa-cli is incompatible with the configuration cache. I've opened fossas/fossa-cli#872 since this needs to be fixed there.

@cortinico
Copy link
Member

Closing as we disalbed config caching for now. Will reopen once we enable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants