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

Use setup step from Makefile for setting up environment #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryan-gang
Copy link
Collaborator

This pull request adds a setup target to the Makefile and updates the GitHub Actions workflow to use make setup for interpreter prerequisites.

… to use make setup for interpreter prerequisites
@ryan-gang ryan-gang self-assigned this Jan 10, 2025
… conditionally run 'make setup' based on Makefile presence

- name: Set up prerequisites (redis)
if: inputs.tester_repo == 'redis-tester'
uses: codecrafters-io/codecrafters-action/.github/actions/redis-setup@ef5aeb9504e08cccfe71e1dbcf806fab3738019d
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try to store the action in .github/actions/setup.yml for all repos, and just invoke that directly here (no conditionals, so we don't need to edit code when new repositories are added)

@ryan-gang ryan-gang changed the title Add setup target to Makefile and update GitHub Actions workflow Use setup step from Makefile for setting up environment Jan 13, 2025
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

Successfully merging this pull request may close these issues.

2 participants