Skip to content

Commit f9d2dd1

Browse files
authored
chore: change reuse version to 6.2.0
1 parent 0c9a7dd commit f9d2dd1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/license-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Run REUSE lint
2121
id: lcheck
22-
run: pipx run reuse==5.1.1 lint
22+
run: pipx run reuse==6.2.0 lint
2323
continue-on-error: true
2424
env:
2525
PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }}
@@ -44,7 +44,7 @@ jobs:
4444
CHANGED_FILES=$(git diff --name-only $BASE_SHA...$HEAD_SHA | tr '\n' ' ')
4545
4646
# 执行 Python 脚本,如果失败则记录 output 变量
47-
if ! pipx run reuse==5.1.1 spdx | python3 .github/scripts/check_copyright.py $CHANGED_FILES > year_check_report.md 2>&1; then
47+
if ! pipx run reuse==6.2.0 spdx | python3 .github/scripts/check_copyright.py $CHANGED_FILES > year_check_report.md 2>&1; then
4848
echo "failed=true" >> $GITHUB_OUTPUT
4949
fi
5050
@@ -59,7 +59,7 @@ jobs:
5959
echo "### ❌ REUSE Compliance Check Failed" >> $GITHUB_STEP_SUMMARY
6060
echo "<details><summary>Click to view lint details</summary>" >> $GITHUB_STEP_SUMMARY
6161
echo -e "\n\`\`\`" >> $GITHUB_STEP_SUMMARY
62-
pipx run reuse==5.1.1 lint >> $GITHUB_STEP_SUMMARY || true
62+
pipx run reuse==6.2.0 lint >> $GITHUB_STEP_SUMMARY || true
6363
echo -e "\`\`\`\n" >> $GITHUB_STEP_SUMMARY
6464
echo "</details>" >> $GITHUB_STEP_SUMMARY
6565
fi

0 commit comments

Comments
 (0)