mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Write results separately then combine
This commit is contained in:
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
@@ -210,8 +210,8 @@ jobs:
|
||||
# Make executable, since artifact download doesn't preserve this
|
||||
chmod +x ruff ./ruff
|
||||
|
||||
ruff-ecosystem check $(which ruff) ./ruff --cache ./checkouts --output-format markdown | tee ecosystem-result
|
||||
cat ecosystem-result >> $GITHUB_STEP_SUMMARY
|
||||
ruff-ecosystem check $(which ruff) ./ruff --cache ./checkouts --output-format markdown | tee ecosystem-result-check
|
||||
cat ecosystem-result-check > $GITHUB_STEP_SUMMARY
|
||||
|
||||
echo ${{ github.event.number }} > pr-number
|
||||
|
||||
@@ -221,11 +221,16 @@ jobs:
|
||||
# Make executable, since artifact download doesn't preserve this
|
||||
chmod +x ruff ./ruff
|
||||
|
||||
ruff-ecosystem format $(which ruff) ./ruff --cache ./checkouts --output-format markdown | tee ecosystem-result
|
||||
cat ecosystem-result >> $GITHUB_STEP_SUMMARY
|
||||
ruff-ecosystem format $(which ruff) ./ruff --cache ./checkouts --output-format markdown | tee ecosystem-result-format
|
||||
cat ecosystem-result-format > $GITHUB_STEP_SUMMARY
|
||||
|
||||
echo ${{ github.event.number }} > pr-number
|
||||
|
||||
- name: Combine ecosystem check results
|
||||
# if: ${{ needs.determine_changes.outputs.formatter == 'true' }} TMP
|
||||
run: |
|
||||
cat ecosystem-result-check ecosystem-result-format > ecosystem-result
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
name: Upload PR Number
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user