Skip to content

build: add ci pipeline#55

Merged
Dejmenek merged 3 commits into
mainfrom
5-add-ci-pipeline-using-github-actions
May 10, 2026
Merged

build: add ci pipeline#55
Dejmenek merged 3 commits into
mainfrom
5-add-ci-pipeline-using-github-actions

Conversation

@Dejmenek
Copy link
Copy Markdown
Owner

Summary

This pull request adds a GitHub Actions workflow for CI, enforces NuGet package lock file usage, and locks down all dependency versions for .NET 9.0 projects to ensure reproducible builds.

Changes

  • Added .github/workflows/ci.yml to automate build, restore, and test steps on push and pull request events.
  • Added Directory.Build.props to require locked NuGet package restores.
  • Added/updated packages.lock.json to fully lock all direct and transitive dependencies for .NET 9.0, including test and development tools.

Dejmenek added 2 commits May 10, 2026 15:00
Added ci.yml to automate CI for the project. The workflow runs on pushes and pull requests to main, sets up .NET 9.0, restores dependencies, builds the solution, and executes both unit and integration tests for TournamentAPI.
Added Directory.Build.props to enforce NuGet package restore with lock files, ensuring deterministic and repeatable dependency resolution. Added and updated packages.lock.json files for both main and test projects targeting net9.0, capturing all direct and transitive dependencies (e.g., Entity Framework Core, HotChocolate, HealthChecks, OpenTelemetry, Serilog, xUnit). This setup ensures consistent builds and dependency management across environments.
@Dejmenek Dejmenek linked an issue May 10, 2026 that may be closed by this pull request
The CI workflow now sets the HEALTHCHECK_API_KEY environment
variable for integration tests using a repository secret.
This enables integration tests to access the API key during
execution.
@Dejmenek Dejmenek merged commit 8810d43 into main May 10, 2026
2 checks passed
@Dejmenek Dejmenek deleted the 5-add-ci-pipeline-using-github-actions branch May 10, 2026 13:24
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.

Add CI Pipeline Using GitHub Actions

1 participant