Skip to content

Commit 24e7534

Browse files
committed
ci: Update CI/CD for enhanced test results
- Update CI/CD workflows to use `libtest-json-plus` for more accurate JSON test result generation - Ensure all CI/CD stages check out the `master` branch to reflect the latest repository changes in builds and documentation - Standardize actions references for consistency in GitHub workflows
1 parent f7a7f4f commit 24e7534

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: Swatinem/rust-cache@v2
3838
- name: 🧪 Run tests with JUnit output
3939
run: |
40-
cargo nextest run --no-fail-fast --profile ci --message-format json-plus > test-results.json
40+
cargo nextest run --no-fail-fast --profile ci --message-format libtest-json-plus > test-results.json
4141
cat test-results.json | cargo2junit > junit.xml
4242
- name: 📊 Upload test results to Codecov
4343
if: always()
@@ -163,6 +163,9 @@ jobs:
163163
needs: release
164164
steps:
165165
- uses: actions/checkout@v4
166+
with:
167+
# CRITICAL: Pull latest changes after release commit
168+
ref: master
166169
- uses: dtolnay/rust-toolchain@stable
167170
- uses: Swatinem/rust-cache@v2
168171
- name: 📚 Generate documentation
@@ -203,7 +206,7 @@ jobs:
203206
</html>
204207
EOF
205208
- name: 📤 Upload artifact
206-
uses: actions/upload-pages-artifact@v3
209+
uses: upload-pages-artifact@v3
207210
with:
208211
path: ./target/doc
209212
deploy-docs:
@@ -225,6 +228,9 @@ jobs:
225228
needs: deploy-docs
226229
steps:
227230
- uses: actions/checkout@v4
231+
with:
232+
# CRITICAL: Pull latest changes including release updates
233+
ref: master
228234
- name: 📖 Update Wiki
229235
run: |
230236
git clone https://github.com/${{ github.repository }}.wiki.git wiki || exit 0

0 commit comments

Comments
 (0)