File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ concurrency:
1212
1313jobs :
1414 optimize :
15- name : Optimize new code in this PR
15+ name : Optimize new Python code
1616 if : ${{ github.actor != 'codeflash-ai[bot]' }}
1717 runs-on : ubuntu-latest
1818 env :
@@ -22,23 +22,24 @@ jobs:
2222 CODEFLASH_PR_NUMBER : ${{ github.event.number }}
2323 COLUMNS : 110
2424 steps :
25- - uses : actions/checkout@v4
25+ - name : 🛎️ Checkout
26+ uses : actions/checkout@v4
2627 with :
2728 fetch-depth : 0
2829
29- - name : Set up Python 3.11 for CLI
30+ - name : 🐍 Set up Python 3.11 for CLI
3031 uses : astral-sh/setup-uv@v5
3132 with :
3233 python-version : 3.11.6
3334
34- - name : Install dependencies (CLI)
35+ - name : 📦 Install dependencies (CLI)
3536 run : |
3637 uv tool install poetry
3738 uv venv
3839 source .venv/bin/activate
3940 poetry install --with dev
4041
41- - name : Run Codeflash to optimize code
42+ - name : ⚡️Codeflash Optimization
4243 id : optimize_code
4344 run : |
4445 source .venv/bin/activate
Original file line number Diff line number Diff line change @@ -504,11 +504,11 @@ def get_dependency_manager_installation_string(dep_manager: DependencyManager) -
504504 py_version = sys .version_info
505505 python_version_string = f"'{ py_version .major } .{ py_version .minor } '"
506506 if dep_manager == DependencyManager .UV :
507- return """name: Setup UV
507+ return """name: 🐍 Setup UV
508508 uses: astral-sh/setup-uv@v4
509509 with:
510510 enable-cache: true"""
511- return f"""name: Set up Python
511+ return f"""name: 🐍 Set up Python
512512 uses: actions/setup-python@v5
513513 with:
514514 python-version: { python_version_string } """
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ concurrency:
1515
1616jobs :
1717 optimize :
18- name : Optimize new Python code in this PR
18+ name : Optimize new Python code
1919 # Don't run codeflash on codeflash-ai[bot] commits, prevent duplicate optimizations
2020 if : ${{ github.actor != 'codeflash-ai[bot]' }}
2121 runs-on : ubuntu-latest
@@ -24,11 +24,12 @@ jobs:
2424 CODEFLASH_PR_NUMBER : ${{ github.event.number }}
2525 {{ working_directory }}
2626 steps :
27- - uses : actions/checkout@v4
27+ - name : 🛎️ Checkout
28+ uses : actions/checkout@v4
2829 with :
2930 fetch-depth : 0
3031 - {{ setup_python_dependency_manager }}
31- - name : Install Project Dependencies
32+ - name : 📦 Install Dependencies
3233 run : {{ install_dependencies_command }}
33- - name : Run Codeflash to optimize code
34+ - name : ⚡️Codeflash Optimization
3435 run : {{ codeflash_command }}
You can’t perform that action at this time.
0 commit comments