Skip to content

Commit 27570d5

Browse files
chore(deps): update codecov/codecov-action action to v5.5.3 (#212)
1 parent 9d70266 commit 27570d5

19 files changed

+357
-333
lines changed

.github/workflows/build-bin.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262

6363
- name: setup-mise
64-
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
64+
uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0
6565

6666
- name: verify-rust-toolchain
6767
# Workaround for Windows rustup bug: https://github.com/rust-lang/rustup/issues/3104
@@ -80,10 +80,11 @@ jobs:
8080

8181
- name: install-cross-compilation-dependencies
8282
if: matrix.target == 'aarch64-unknown-linux-gnu'
83+
shell: bash
8384
run: |
8485
sudo apt-get update
8586
sudo apt-get install -y gcc-aarch64-linux-gnu
86-
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
87+
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV"
8788
8889
- name: update-cargo-toml-version
8990
if: inputs.version != ''
@@ -96,7 +97,7 @@ jobs:
9697

9798
- name: upload-binary-to-release
9899
if: inputs.upload_to_release == true && inputs.tag != ''
99-
uses: svenstaro/upload-release-action@b98a3b12e86552593f3e4e577ca8a62aa2f3f22b # 2.11.4
100+
uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # 2.11.5
100101
with:
101102
repo_token: ${{ secrets.GITHUB_TOKEN }}
102103
file: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}

.github/workflows/pre-commit.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: pre-commit
22

33
on:
44
workflow_call:
5+
inputs:
6+
python_version:
7+
required: false
8+
type: string
9+
default: "3.14"
510

611
jobs:
712
pre-commit:
@@ -11,10 +16,10 @@ jobs:
1116
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1217

1318
- name: setup-mise
14-
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
19+
uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0
1520

1621
- name: setup-rust-toolchain
17-
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
22+
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
1823
with:
1924
toolchain: nightly
2025
components: rustfmt, clippy
@@ -23,7 +28,7 @@ jobs:
2328
env:
2429
CACHE_KEY_PREFIX: deps-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-py${{ inputs.python_version }}
2530
CACHE_KEY_DEPS: ${{ hashFiles('uv.lock') }}
26-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
31+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
2732
with:
2833
path: |
2934
~/.cache/pre-commit
@@ -43,7 +48,8 @@ jobs:
4348
run: uv sync --all-extras --all-groups --frozen
4449

4550
- name: setup-path
46-
run: echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
51+
shell: bash
52+
run: echo "${{ github.workspace }}/.venv/bin" >> "$GITHUB_PATH"
4753

4854
- name: run-pre-commit
4955
run: uv run pre-commit run --all-files

.github/workflows/publish-crates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: setup-mise
23-
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
23+
uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0
2424

2525
- name: cache-publish
2626
env:
2727
CACHE_KEY_PREFIX: publish-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}
28-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
28+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
2929
with:
3030
path: |
3131
~/.cargo/bin/
@@ -45,7 +45,7 @@ jobs:
4545
shell: bash
4646
run: |
4747
uv sync --all-extras --all-groups --frozen
48-
echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
48+
echo "${{ github.workspace }}/.venv/bin" >> "$GITHUB_PATH"
4949
5050
- name: publish
5151
run: |

.github/workflows/publish-pypi.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4747

4848
- name: setup-mise
49-
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
49+
uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0
5050

5151
- name: verify-rust-toolchain
5252
# Workaround for Windows rustup bug: https://github.com/rust-lang/rustup/issues/3104
@@ -62,7 +62,7 @@ jobs:
6262
- name: cache-publish
6363
env:
6464
CACHE_KEY_PREFIX: publish-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-${{ matrix.target }}
65-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
65+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
6666
with:
6767
path: |
6868
~/.cargo/bin/
@@ -81,18 +81,19 @@ jobs:
8181

8282
- name: install-cross-compilation-dependencies
8383
if: matrix.target == 'aarch64-unknown-linux-gnu'
84+
shell: bash
8485
run: |
8586
sudo apt-get update
8687
sudo apt-get install -y gcc-aarch64-linux-gnu
87-
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
88+
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV"
8889
8990
- name: setup-path
9091
shell: bash
9192
run: |
9293
if [ "$RUNNER_OS" == "Windows" ]; then
93-
echo "${{ github.workspace }}/.venv/Scripts" >> $GITHUB_PATH
94+
echo "${{ github.workspace }}/.venv/Scripts" >> "$GITHUB_PATH"
9495
else
95-
echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
96+
echo "${{ github.workspace }}/.venv/bin" >> "$GITHUB_PATH"
9697
fi
9798
9899
- name: publish

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4545

4646
- name: setup-mise
47-
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
47+
uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0
4848

4949
- name: run-cargo-audit
5050
run: |

.github/workflows/shared-aggregate-lock-results.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
lock_results_simple: ${{ steps.output.outputs.lock_results_simple }}
3636
steps:
3737
- name: download-lock-artifacts
38-
uses: actions/download-artifact@v8
38+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3939
with:
4040
pattern: ${{ inputs.artifact_pattern }}
4141
path: lock-results
@@ -108,7 +108,9 @@ jobs:
108108
FAILED=$(jq -c . failed-lock-keys.json)
109109
RAW=$(jq -c . lock-results-raw.json)
110110
SIMPLE=$(jq -c . lock-results-simple.json)
111-
echo "successful_lock_keys=$SUCCESSFUL" >> $GITHUB_OUTPUT
112-
echo "failed_lock_keys=$FAILED" >> $GITHUB_OUTPUT
113-
echo "lock_results_raw=$RAW" >> $GITHUB_OUTPUT
114-
echo "lock_results_simple=$SIMPLE" >> $GITHUB_OUTPUT
111+
{
112+
echo "successful_lock_keys=$SUCCESSFUL"
113+
echo "failed_lock_keys=$FAILED"
114+
echo "lock_results_raw=$RAW"
115+
echo "lock_results_simple=$SIMPLE"
116+
} >> "$GITHUB_OUTPUT"

.github/workflows/shared-check-pr-label-and-branch.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
'[.[] | select(.name == $target)] | length > 0')
5555
5656
echo "Has label: $HAS_LABEL"
57-
echo "has_label=$HAS_LABEL" >> $GITHUB_OUTPUT
57+
echo "has_label=$HAS_LABEL" >> "$GITHUB_OUTPUT"
5858
5959
if [ "$HAS_LABEL" = "true" ]; then
6060
echo "✅ Label '$TARGET_LABEL' found"
@@ -64,10 +64,11 @@ jobs:
6464
6565
- name: check-branch-exact
6666
id: check-branch-exact
67+
env:
68+
CURRENT_BRANCH: ${{ github.head_ref }}
6769
run: |
6870
# Escape JSON properly for bash
6971
BRANCH_NAMES='${{ inputs.branch_names }}'
70-
CURRENT_BRANCH="${{ github.head_ref }}"
7172
7273
echo "Checking exact branch names: $BRANCH_NAMES"
7374
echo "Current branch: $CURRENT_BRANCH"
@@ -79,7 +80,7 @@ jobs:
7980
'[.[] | select(. == $branch)] | length > 0')
8081
8182
echo "Has exact match: $EXACT_MATCH"
82-
echo "has_exact_match=$EXACT_MATCH" >> $GITHUB_OUTPUT
83+
echo "has_exact_match=$EXACT_MATCH" >> "$GITHUB_OUTPUT"
8384
8485
if [ "$EXACT_MATCH" = "true" ]; then
8586
echo "✅ Branch name matches exactly"
@@ -88,15 +89,16 @@ jobs:
8889
fi
8990
else
9091
echo "ℹ️ No exact branch name restrictions"
91-
echo "has_exact_match=false" >> $GITHUB_OUTPUT
92+
echo "has_exact_match=false" >> "$GITHUB_OUTPUT"
9293
fi
9394
9495
- name: check-branch-prefixes
9596
id: check-branch-prefixes
97+
env:
98+
CURRENT_BRANCH: ${{ github.head_ref }}
9699
run: |
97100
# Escape JSON properly for bash
98101
BRANCH_PREFIXES='${{ inputs.branch_prefixes }}'
99-
CURRENT_BRANCH="${{ github.head_ref }}"
100102
101103
echo "Checking branch prefixes: $BRANCH_PREFIXES"
102104
echo "Current branch: $CURRENT_BRANCH"
@@ -114,7 +116,7 @@ jobs:
114116
done < <(echo "$BRANCH_PREFIXES" | jq -r '.[]')
115117
116118
echo "Has prefix match: $PREFIX_MATCH"
117-
echo "has_prefix_match=$PREFIX_MATCH" >> $GITHUB_OUTPUT
119+
echo "has_prefix_match=$PREFIX_MATCH" >> "$GITHUB_OUTPUT"
118120
119121
if [ "$PREFIX_MATCH" = "true" ]; then
120122
echo "✅ Branch prefix matches"
@@ -123,7 +125,7 @@ jobs:
123125
fi
124126
else
125127
echo "ℹ️ No branch prefix restrictions"
126-
echo "has_prefix_match=false" >> $GITHUB_OUTPUT
128+
echo "has_prefix_match=false" >> "$GITHUB_OUTPUT"
127129
fi
128130
129131
- name: combine-results
@@ -160,7 +162,7 @@ jobs:
160162
echo "Branch not valid (no match found)"
161163
fi
162164
163-
echo "is_valid_branch=$IS_VALID_BRANCH" >> $GITHUB_OUTPUT
165+
echo "is_valid_branch=$IS_VALID_BRANCH" >> "$GITHUB_OUTPUT"
164166
165167
# Final validation requires both label and valid branch
166168
if [ "$HAS_LABEL" = "true" ] && [ "$IS_VALID_BRANCH" = "true" ]; then
@@ -177,9 +179,11 @@ jobs:
177179
fi
178180
fi
179181
180-
echo "is_valid=$IS_VALID" >> $GITHUB_OUTPUT
182+
echo "is_valid=$IS_VALID" >> "$GITHUB_OUTPUT"
181183
182184
- name: display-results
185+
env:
186+
CURRENT_BRANCH: ${{ github.head_ref }}
183187
run: |
184188
echo "=========================================="
185189
echo " VALIDATION SUMMARY"
@@ -190,7 +194,7 @@ jobs:
190194
echo " - Has label: ${{ steps.check-label.outputs.has_label }}"
191195
echo ""
192196
echo "Branch Validation:"
193-
echo " - Current branch: ${{ github.head_ref }}"
197+
echo " - Current branch: $CURRENT_BRANCH"
194198
echo " - Exact match: ${{ steps.check-branch-exact.outputs.has_exact_match }}"
195199
echo " - Prefix match: ${{ steps.check-branch-prefixes.outputs.has_prefix_match }}"
196200
echo " - Valid branch: ${{ steps.combine-results.outputs.is_valid_branch }}"

.github/workflows/shared-check-pr-labels-with-prefix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
echo "filtered-labels<<EOF"
5454
echo "$JSON_RESULT"
5555
echo "EOF"
56-
} >> $GITHUB_OUTPUT
56+
} >> "$GITHUB_OUTPUT"
5757
5858
- name: display-filter-result
5959
run: |

.github/workflows/shared-lock.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,12 @@ jobs:
149149
# Lock
150150
- name: prepare-lock-reason
151151
id: lock-reason
152+
shell: bash
152153
run: |
153154
# Simple reason with owner information
154155
REASON="owner:${{ inputs.key_owner }}"
155156
echo "Lock reason: $REASON"
156-
echo "reason=$REASON" >> $GITHUB_OUTPUT
157+
echo "reason=$REASON" >> "$GITHUB_OUTPUT"
157158
if: steps.check-lock.outputs.should_proceed == 'true'
158159

159160
- name: lock
@@ -206,13 +207,14 @@ jobs:
206207
- name: create-lock-result
207208
if: always() && inputs.upload_result_artifact == true
208209
id: output
210+
shell: bash
209211
run: |
210212
RECHECK_LOCK_OUTCOME="${{ steps.recheck-lock.outcome }}"
211213
LOCK_OUTCOME="${{ steps.lock.outcome }}"
212214
213215
# Determine final status
214216
# Success only when recheck-lock succeeds (or lock succeeds if recheck is disabled)
215-
if [ "$RECHECK_LOCK_OUTCOME" = "success" ] || ([ "$RECHECK_LOCK_OUTCOME" = "skipped" ] && [ "$LOCK_OUTCOME" = "success" ]); then
217+
if [ "$RECHECK_LOCK_OUTCOME" = "success" ] || { [ "$RECHECK_LOCK_OUTCOME" = "skipped" ] && [ "$LOCK_OUTCOME" = "success" ]; }; then
216218
FINAL_STATUS="success"
217219
else
218220
FINAL_STATUS="failure"
@@ -232,11 +234,11 @@ jobs:
232234
cat lock-result.json
233235
234236
# Set job output
235-
echo "lock_status=$FINAL_STATUS" >> $GITHUB_OUTPUT
237+
echo "lock_status=$FINAL_STATUS" >> "$GITHUB_OUTPUT"
236238
echo "Set output: lock_status=$FINAL_STATUS"
237239
238240
- name: upload-lock-result-artifact
239-
uses: actions/upload-artifact@v7
241+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
240242
if: always() && inputs.upload_result_artifact == true
241243
with:
242244
name: lock-result-${{ inputs.key }}

.github/workflows/shared-pr-unlock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
echo "unlock_combinations<<EOF"
8181
echo "$COMB_ARRAY"
8282
echo "EOF"
83-
} >> $GITHUB_OUTPUT
83+
} >> "$GITHUB_OUTPUT"
8484
8585
debug-unlock-combinations:
8686
needs: get-missing-deploy-labels

0 commit comments

Comments
 (0)