Skip to content

Commit

Permalink
chore: update the versions of all the actions in the git workflows to
Browse files Browse the repository at this point in the history
astral-sh/setup-uv@v4
CodSpeedHQ/action@v3
actions/checkout@v4
wntrblm/[email protected]
actions/upload-artifact@v4
actions/download-artifact@v4
  • Loading branch information
dave42w committed Dec 11, 2024
1 parent 0b18882 commit c19c6ea
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 23 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4

- uses: actions/setup-python@v5
with:
Expand All @@ -39,8 +39,7 @@ jobs:
maturin build -i python --universal2 --out dist
uv pip install --no-index --find-links=dist/ robyn
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest integration_tests --codspeed

2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4

- uses: actions/setup-python@v5
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/preview-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
]
target: [aarch64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build Wheels
uses: PyO3/maturin-action@v1
env:
Expand Down Expand Up @@ -149,4 +149,3 @@ jobs:
pip install --upgrade pip setuptools wheel
pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
2 changes: 1 addition & 1 deletion .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Set up Nox
uses: wntrblm/nox@2024.03.02
uses: wntrblm/nox@2024.10.09
with:
python-versions: ${{ matrix.python-version }}
- name: Test with Nox
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -40,7 +40,7 @@ jobs:
uv pip install --force-reinstall dist/robyn*_universal2.whl
cd ~ && python -c 'import robyn'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -51,9 +51,9 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -70,7 +70,7 @@ jobs:
uv pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -81,10 +81,10 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x86_64, i686]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -100,7 +100,7 @@ jobs:
uv pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -117,7 +117,7 @@ jobs:
]
target: [aarch64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build Wheels
uses: PyO3/maturin-action@v1
env:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -162,11 +162,11 @@ jobs:
runs-on: ubuntu-latest
needs: [macos, windows, linux, linux-cross]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
Expand Down

0 comments on commit c19c6ea

Please sign in to comment.