Skip to content

Commit 861e5e2

Browse files
committed
fix: continue resolving GitHub Actions YAML issues
- Fixed step indentation in optimized-ci.yml partitioned tests - Fixed conditional formatting in enhanced-ci.yml - Corrected shell script block structure and indentation - Progress: 3/5 workflow files now pass YAML validation Status: ✅ performance.yml - FIXED ✅ release-consolidated.yml - HEALTHY ✅ changelog-sync.yml - HEALTHY 🔄 optimized-ci.yml - Minor indentation issues remain 🔄 enhanced-ci.yml - Conditional block structure needs fixing
1 parent 5001c82 commit 861e5e2

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/enhanced-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,17 @@ jobs:
144144
echo "Clippy issues found, attempting fixes..."
145145
cargo clippy --all-targets --all-features --fix --allow-dirty
146146
fi
147-
echo "clippy_fixed=true" >> $GITHUB_OUTPUT
148-
else
149-
echo "✅ Clippy checks passed"
150-
echo "clippy_fixed=false" >> $GITHUB_OUTPUT
151-
fi
147+
echo "clippy_fixed=true" >> $GITHUB_OUTPUT
148+
else
149+
echo "✅ Clippy checks passed"
150+
echo "clippy_fixed=false" >> $GITHUB_OUTPUT
151+
fi
152152
153153
- name: Check workspace integrity
154154
run: cargo check --workspace --all-targets
155155

156156
- name: Commit fixes if applied
157-
if: steps.format-check.outputs.format_fixed == 'true' || steps.clippy-check.outputs.clippy_fixed == 'true'
157+
if: steps.format-check.outputs.format_fixed == 'true' || steps.clippy-check.outputs.clippy_fixed == 'true'
158158
run: |
159159
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
160160
git config --local user.name "github-actions[bot]"

.github/workflows/optimized-ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,16 @@ jobs:
184184
tool: cargo-nextest
185185

186186
- name: Cache target
187-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
188-
with:
189-
path: target
190-
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
187+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
188+
with:
189+
path: target
190+
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
191191

192-
- name: Run partitioned tests
193-
run: |
194-
cargo nextest run --workspace --all-features \
195-
--partition count:${{ matrix.partition }}/4 \
196-
--partition index:${{ matrix.partition }}
192+
- name: Run partitioned tests
193+
run: |
194+
cargo nextest run --workspace --all-features \
195+
--partition count:${{ matrix.partition }}/4 \
196+
--partition index:${{ matrix.partition }}
197197
198198
# Incremental crate testing
199199
test-cli:

0 commit comments

Comments
 (0)