Thor: Add central package management & lock with Github Action cache #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to implement central package management, improve CI workflows, and update package references. The most important changes include adding central package management to the repository, updating CI workflows to use locked package modes, and removing the Azure Pipelines configuration.
Central Package Management:
Directory.Packages.props
: Added central package management for NuGet packages, including specifying package versions for multiple dependencies.src/Netatmo/Netatmo.csproj
andtests/Netatmo.Tests/Netatmo.Tests.csproj
: Updated package references to use central package management. [1] [2]CI Workflow Improvements:
.github/workflows/ci.yml
and.github/workflows/tests.yml
: Updated workflows to usedotnet restore --locked-mode
and enabled caching forsetup-dotnet
action. [1] [2] [3]Removal of Azure Pipelines Configuration:
azure-pipelines.yml
: Removed the Azure Pipelines configuration file as part of the transition to GitHub Actions for CI/CD.Documentation Update:
README.md
: Added a section about central package management to inform developers about the new package management approach.Dev Container Update:
.devcontainer/devcontainer.json
: Added build and test tasks to the dev container configuration to streamline development workflows.