Skip to content

Commit 8ee605b

Browse files
committed
ci: upgrade actions for Node 24 runtime
Refs DFPY-67
1 parent c1093d6 commit 8ee605b

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
benchmark:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0 # Fetch all history for proper comparison
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: "3.10"
2424
cache: "pip"
@@ -34,7 +34,7 @@ jobs:
3434
python -m pytest --collect-only tests/benchmark_text_service.py::test_regex_performance
3535
3636
- name: Restore benchmark data
37-
uses: actions/cache@v4
37+
uses: actions/cache@v5
3838
with:
3939
path: .benchmarks
4040
# Updated cache key to reset baseline due to performance optimization changes
@@ -101,7 +101,7 @@ jobs:
101101
# fi
102102
103103
- name: Upload benchmark results
104-
uses: actions/upload-artifact@v4
104+
uses: actions/upload-artifact@v7
105105
with:
106106
name: benchmark-results
107107
path: |

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v5
17+
- uses: actions/checkout@v6
18+
- uses: actions/setup-python@v6
1919
with:
2020
python-version: "3.10"
2121
cache: "pip"
@@ -40,9 +40,9 @@ jobs:
4040
- python-version: "3.13"
4141
install-profile: "nlp-advanced"
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v6
4444
- name: Set up Python
45-
uses: actions/setup-python@v5
45+
uses: actions/setup-python@v6
4646
with:
4747
python-version: ${{ matrix.python-version }}
4848
cache: "pip"
@@ -148,7 +148,7 @@ jobs:
148148
PY
149149
150150
- name: Upload coverage
151-
uses: codecov/codecov-action@v5
151+
uses: codecov/codecov-action@v6
152152
with:
153153
files: ./coverage.xml
154154
flags: ${{ matrix.install-profile }}-py${{ matrix.python-version }}
@@ -168,9 +168,9 @@ jobs:
168168
- distributed
169169
- web
170170
steps:
171-
- uses: actions/checkout@v4
171+
- uses: actions/checkout@v6
172172
- name: Set up Python
173-
uses: actions/setup-python@v5
173+
uses: actions/setup-python@v6
174174
with:
175175
python-version: "3.11"
176176
cache: "pip"
@@ -198,8 +198,8 @@ jobs:
198198
wheel-size:
199199
runs-on: ubuntu-latest
200200
steps:
201-
- uses: actions/checkout@v4
202-
- uses: actions/setup-python@v5
201+
- uses: actions/checkout@v6
202+
- uses: actions/setup-python@v6
203203
with:
204204
python-version: "3.10"
205205
cache: "pip"

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ jobs:
6161
BRANCH="dev"
6262
fi
6363
64-
echo "release_type=$TYPE" >> $GITHUB_OUTPUT
65-
echo "target_branch=$BRANCH" >> $GITHUB_OUTPUT
64+
echo "release_type=$TYPE" >> "$GITHUB_OUTPUT"
65+
echo "target_branch=$BRANCH" >> "$GITHUB_OUTPUT"
6666
echo "Release type: $TYPE from $BRANCH"
6767
68-
- uses: actions/checkout@v4
68+
- uses: actions/checkout@v6
6969
with:
7070
fetch-depth: 0
7171
ref: ${{ steps.resolve.outputs.target_branch }}
@@ -86,15 +86,15 @@ jobs:
8686
if [ -z "$LAST_TAG" ]; then
8787
COMMIT_COUNT=$(git rev-list --count --since="7 days ago" HEAD)
8888
else
89-
COMMIT_COUNT=$(git rev-list --count ${LAST_TAG}..HEAD)
89+
COMMIT_COUNT=$(git rev-list --count "${LAST_TAG}..HEAD")
9090
fi
9191
9292
echo "Commits since ${LAST_TAG:-'(none)'}: $COMMIT_COUNT"
9393
9494
if [ "$COMMIT_COUNT" -gt 0 ] || [ "${{ inputs.force_build }}" = "true" ]; then
95-
echo "has_changes=true" >> $GITHUB_OUTPUT
95+
echo "has_changes=true" >> "$GITHUB_OUTPUT"
9696
else
97-
echo "has_changes=false" >> $GITHUB_OUTPUT
97+
echo "has_changes=false" >> "$GITHUB_OUTPUT"
9898
echo "No changes detected, skipping release"
9999
fi
100100
@@ -107,13 +107,13 @@ jobs:
107107
matrix:
108108
python-version: ["3.10", "3.11", "3.12"]
109109
steps:
110-
- uses: actions/checkout@v4
110+
- uses: actions/checkout@v6
111111
with:
112112
fetch-depth: 0
113113
ref: ${{ needs.determine-release.outputs.target_branch }}
114114

115115
- name: Set up Python ${{ matrix.python-version }}
116-
uses: actions/setup-python@v5
116+
uses: actions/setup-python@v6
117117
with:
118118
python-version: ${{ matrix.python-version }}
119119
cache: "pip"
@@ -145,13 +145,13 @@ jobs:
145145
if: needs.determine-release.outputs.has_changes == 'true'
146146
runs-on: ubuntu-latest
147147
steps:
148-
- uses: actions/checkout@v4
148+
- uses: actions/checkout@v6
149149
with:
150150
fetch-depth: 0
151151
ref: ${{ needs.determine-release.outputs.target_branch }}
152152

153153
- name: Set up Python 3.13
154-
uses: actions/setup-python@v5
154+
uses: actions/setup-python@v6
155155
with:
156156
python-version: "3.13"
157157
cache: "pip"
@@ -177,14 +177,14 @@ jobs:
177177
outputs:
178178
version: ${{ steps.version.outputs.version }}
179179
steps:
180-
- uses: actions/checkout@v4
180+
- uses: actions/checkout@v6
181181
with:
182182
fetch-depth: 0
183183
ref: ${{ needs.determine-release.outputs.target_branch }}
184184
token: ${{ secrets.GH_PAT }}
185185

186186
- name: Set up Python
187-
uses: actions/setup-python@v5
187+
uses: actions/setup-python@v6
188188
with:
189189
python-version: "3.11"
190190

@@ -241,7 +241,7 @@ jobs:
241241
VERSION="$BASE"
242242
fi
243243
244-
echo "version=$VERSION" >> $GITHUB_OUTPUT
244+
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
245245
echo "Publishing version: $VERSION"
246246
247247
sed -i "s/__version__ = \".*\"/__version__ = \"$VERSION\"/" datafog/__about__.py
@@ -322,7 +322,7 @@ jobs:
322322
if: needs.determine-release.outputs.release_type != 'stable' && inputs.dry_run != true
323323
runs-on: ubuntu-latest
324324
steps:
325-
- uses: actions/checkout@v4
325+
- uses: actions/checkout@v6
326326

327327
- name: Prune old alpha releases (keep 7)
328328
if: needs.determine-release.outputs.release_type == 'alpha'

0 commit comments

Comments
 (0)