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

Add GitHub workflows for JavaScript and Python autofix #2381

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

ogabrielluiz
Copy link
Contributor

This pull request adds GitHub workflows for JavaScript and Python autofix. The JavaScript workflow is triggered on pull requests and pushes to the main branch for changes in the "src/frontend" directory. It sets up Node.js, caches Node.js dependencies, installs Node.js dependencies, and runs Prettier for code formatting. The Python workflow is also triggered on pull requests and pushes to the main branch for changes in the "poetry.lock", "pyproject.toml", "src/backend", and "tests" directories. It installs Ruff and runs Mypy for type checking and code formatting.

This commit adds GitHub workflows for JavaScript and Python autofix. The JavaScript workflow is triggered on pull requests and pushes to the main branch, specifically for changes in the "src/frontend" directory. It checks out the code, sets up Node.js, caches Node.js dependencies, installs Node.js dependencies, and runs Prettier for code formatting. The Python workflow is also triggered on pull requests and pushes to the main branch, but for changes in the "poetry.lock", "pyproject.toml", "src/backend", and "tests" directories. It checks out the code, installs Ruff, and runs Mypy for type checking and code formatting.
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 26, 2024
@dosubot dosubot bot added javascript Pull requests that update Javascript code python Pull requests that update Python code labels Jun 26, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge June 26, 2024 15:12
@ogabrielluiz ogabrielluiz disabled auto-merge June 26, 2024 15:13
@ogabrielluiz ogabrielluiz merged commit 7af8b6b into main Jun 26, 2024
1 of 2 checks passed
@ogabrielluiz ogabrielluiz deleted the fix_ref_main branch June 26, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code python Pull requests that update Python code size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant