Skip to content

🩹 [Patch]: Fix gh auth status issue + add complex and actual use-case for Set-GitHubOutput #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Feb 25, 2025

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Feb 25, 2025

Description

This pull request includes significant updates to the .github/workflows/TestWorkflow.yml and scripts/info.ps1 files to enhance the workflow and logging capabilities.

Enhancements to .github/workflows/TestWorkflow.yml:

  • Added new outputs for MatrixTest, ComplexArray, and ComplexArrayJson to capture and utilize more detailed test results.
  • Introduced multiple LogGroup sections to improve the readability and organization of the workflow logs.
  • Added a new job MatrixCreator to dynamically create a matrix of test configurations and a dependent job MatrixTest to execute the tests based on the matrix.

Enhancements to scripts/info.ps1:

  • Improved verbose logging to provide more detailed information about the authentication type and token status.
  • Added logic to preserve the original $LASTEXITCODE after checking the GitHub CLI authentication status.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

No code changes made.
```
…ClientID and improve authentication check in info.ps1 for better token validation
…validation and output relevant context information
…nd enhance output handling; improve authentication check in info.ps1 for accurate token validation
…on check; update TestWorkflow to correctly reference ComplexArrayJson output variable
…matrix strategy for dynamic testing across different environments
…ing redundant Cars property and ensuring consistent Path assignment; uncomment Context and GitConfig outputs for improved data handling
…or dynamic testing and enhance output handling in MatrixTest
…streamline MatrixTest configuration by removing unnecessary output settings and simplifying array handling
…nt variable to Path and create directory for matrix tests
…rkflow for enhanced visibility during execution
@MariusStorhaug MariusStorhaug self-assigned this Feb 25, 2025
@MariusStorhaug MariusStorhaug merged commit 530913e into main Feb 25, 2025
10 checks passed
@MariusStorhaug MariusStorhaug deleted the TestArrayOfObject branch February 25, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🩹 [Patch]: Capture errors when logging on with GH CLI
1 participant