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

Help find GitHub action #79

Open
smjoshiatglobus opened this issue Mar 12, 2025 · 8 comments
Open

Help find GitHub action #79

smjoshiatglobus opened this issue Mar 12, 2025 · 8 comments

Comments

@smjoshiatglobus
Copy link

Is your feature request related to a problem? Please describe.
I followed instructions from https://github.com/SpectoLabs/hoverfly-github-action but got this error:
"Unable to resolve action. Repository not found: agilepathway/hoverfly-github-action"

Describe the solution you'd like
Help figure out how to run GitHub actions using hoverfly

Describe alternatives you've considered
Local execution of go test worked fine.

Additional context
NA

@smjoshiatglobus smjoshiatglobus changed the title Can;t find GitHub action Help find GitHub action Mar 12, 2025
@tommysitu tommysitu transferred this issue from SpectoLabs/hoverfly Mar 12, 2025
@tommysitu
Copy link
Member

@johnboyes any chance you can help with this?

@smjoshiatglobus
Copy link
Author

I should have seen the potential solution in issue #64. I tried it, and could successfully start hoverctl! However, I got this error message:
Invalid simulation: schema version v5.3 is not supported by this version of Hoverfly, you may need to update Hoverfly

@johnboyes
Copy link
Collaborator

Hi, I’ll look into this and get back to you soon, @smjoshiatglobus - tomorrow latest

@johnboyes
Copy link
Collaborator

Hi @smjoshiatglobus and @tommysitu , this GitHub Action hasn't had much love for a few years now. The main reason for that is that is that it still works successfully for my use case (I contributed the action to SpectoLabs as an individual open source contribution), and there haven't been any issues by any other users flagged until now. So thanks for raising this!
The good news is that the action still works and that the problem you're experiencing @smjoshiatglobus can be resolved without any code change needed to the action itself.
The action is currently pinned by default to the very old Hoverfly v1.3.6 version, but you can override that by specifying any version you like when invoking the action, e.g.

with:
  version: 'v1.10.12'
  runner_github_workspace_path: ${{ github.workspace }}

Let me know if that fixes the problem for you, @smjoshiatglobus 🤞🏻

@tommysitu I'd be happy to spend some time working on the action to bring it more up to date and tidy up the documentation, if you like. Ideally in about a month's time if that's ok, as the next month is very busy for me 🙏🏻

@tommysitu
Copy link
Member

Thank you for taking a look @johnboyes! There have been some schema changes since v1.3.6 from simulation v5 -> v5.3. The new version supports some exciting new features like response body file, post-serve action, new matchers for JWT, array and more. It's still backwards-compatible, and you would find it easy to upgrade. Feel free to ping me if you need any help!

@smjoshiatglobus
Copy link
Author

Thank you @johnboyes and @tommysitu . Please see PR #80

@johnboyes
Copy link
Collaborator

Thank you @johnboyes and @tommysitu . Please see PR #80

@tommysitu I no longer have maintainer permissions on this repo for some reason?

@tommysitu
Copy link
Member

@johnboyes I've added you back as an external collaborator.

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

No branches or pull requests

3 participants