mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
Bump stale GitHub Actions versions (#2618)
## Summary Bumps all stale GitHub Actions to their latest stable versions across 7 workflow files. ### Changes | Workflow | Action | Old | New | |---|---|---|---| | `ci.yaml` | `astral-sh/setup-uv` | `@v8.0.0` / `@v7` (inline jobs only) | `@v8.1.0` | | `claude.yml` | `astral-sh/setup-uv` | `@v6` | `@v8.1.0` | | `codeflash-aiservice.yaml` | `astral-sh/setup-uv` | `@v7` | `@v8.1.0` | | `codeflash-js.yaml` | `astral-sh/setup-uv` | `@v7` | `@v8.1.0` | | `deploy_aiservice_to_azure.yml` | `astral-sh/setup-uv` | `@v7` | `@v8.1.0` | | `fix-formatting.yml` | `astral-sh/setup-uv` | `@v5` | `@v8.1.0` | | `fix-formatting.yml` | `j178/prek-action` | `@v1` | `@v2` | | `publish-to-pypi.yml` | `pypa/gh-action-pypi-publish` | `@master` | `@release/v1` | ### Notes - Shared workflow refs (`codeflash-ai/github-workflows/...@main`) in `ci.yaml` are **not** changed -- those follow `@main` and will pick up updates from the shared workflows repo. - `publish-to-pypi.yml` is currently disabled (`if: false`) but the ref is fixed anyway to avoid issues when re-enabled. ## Test plan - [ ] CI passes on this PR (the workflow files themselves are the change, so CI validates they parse correctly) - [ ] Verify `ci.yaml` shared workflow `uses:` lines still reference `@main`
This commit is contained in:
parent
0d968a0652
commit
eeecdc11d7
7 changed files with 11 additions and 11 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
ANTHROPIC_FOUNDRY_BASE_URL: ${{ secrets.ANTHROPIC_FOUNDRY_BASE_URL }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: astral-sh/setup-uv@v8.0.0
|
||||
- uses: astral-sh/setup-uv@v8.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
enable-cache: true
|
||||
|
|
@ -436,7 +436,7 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Python 3.12 for AI Server
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
|
|
|||
4
.github/workflows/claude.yml
vendored
4
.github/workflows/claude.yml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -219,7 +219,7 @@ jobs:
|
|||
ref: ${{ steps.pr-ref.outputs.ref }}
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/codeflash-aiservice.yaml
vendored
2
.github/workflows/codeflash-aiservice.yaml
vendored
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
enable-cache: true
|
||||
|
|
|
|||
4
.github/workflows/codeflash-js.yaml
vendored
4
.github/workflows/codeflash-js.yaml
vendored
|
|
@ -100,7 +100,7 @@ jobs:
|
|||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Set up Python and install Codeflash
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Set up Python and install Codeflash
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
# cd django/aiservice
|
||||
# poetry run pytest
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
|
||||
- name: Generate requirements.txt
|
||||
run: |
|
||||
|
|
|
|||
4
.github/workflows/fix-formatting.yml
vendored
4
.github/workflows/fix-formatting.yml
vendored
|
|
@ -28,11 +28,11 @@ jobs:
|
|||
ref: ${{ steps.pr-info.outputs.head_ref }}
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v8.1.0
|
||||
|
||||
- name: Run prek
|
||||
id: prek
|
||||
uses: j178/prek-action@v1
|
||||
uses: j178/prek-action@v2
|
||||
continue-on-error: true
|
||||
with:
|
||||
extra-args: --from-ref origin/${{ steps.pr-info.outputs.base_ref }}
|
||||
|
|
|
|||
2
.github/workflows/publish-to-pypi.yml
vendored
2
.github/workflows/publish-to-pypi.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Build
|
||||
run: python -m build
|
||||
- name: Publish
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.PYPI_PASSWORD }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue