Skip to content

Upgrade GitHub workflows to use centralized global.json for .NET version#735

Merged
tjementum merged 2 commits into
mainfrom
pp-392-ensure-github-actions-is-always-using-the-correct-version-of
Apr 21, 2025
Merged

Upgrade GitHub workflows to use centralized global.json for .NET version#735
tjementum merged 2 commits into
mainfrom
pp-392-ensure-github-actions-is-always-using-the-correct-version-of

Conversation

@tjementum
Copy link
Copy Markdown
Member

@tjementum tjementum commented Apr 21, 2025

Summary & motivation

  • Replace all hardcoded dotnet-version: 9.0.x values in GitHub workflows with a reference to the centralized global.json file for consistent .NET versioning
  • Reformat GitHub workflow files to use consistent indentation around blank lines

This change fixes a sporadic error where the actions/setup-dotnet@v4 GitHub task sometimes installed an incorrect .NET version, causing workflows to fail.

Downstream projects

Update all GitHub workflow files to reference the global.json file instead of hardcoded versions:

- dotnet-version: 9.0.x
+ global-json-file: application/global.json

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Enhancement New feature or request label Apr 21, 2025
@tjementum tjementum self-assigned this Apr 21, 2025
@tjementum tjementum requested a review from a team as a code owner April 21, 2025 23:00
@linear
Copy link
Copy Markdown

linear Bot commented Apr 21, 2025

@sonarqubecloud
Copy link
Copy Markdown

@tjementum tjementum merged commit 84d207f into main Apr 21, 2025
29 of 30 checks passed
@tjementum tjementum deleted the pp-392-ensure-github-actions-is-always-using-the-correct-version-of branch April 21, 2025 23:05
@github-project-automation github-project-automation Bot moved this to ✅ Done in Kanban board Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant