Skip to content

chore: remove Nix and replace with shivammathur/setup-php in CI#211

Merged
gaelreyrol merged 3 commits intomainfrom
feat/remove-nix-usage
Apr 10, 2026
Merged

chore: remove Nix and replace with shivammathur/setup-php in CI#211
gaelreyrol merged 3 commits intomainfrom
feat/remove-nix-usage

Conversation

@gaelreyrol
Copy link
Copy Markdown
Contributor

@gaelreyrol gaelreyrol commented Apr 10, 2026

Summary

  • Replace all Nix-based PHP provisioning (nix-installer-action, cachix, magic-nix-cache, nix-develop) with shivammathur/setup-php@v2.37.0 across all workflows
  • Remove flake-check CI job and update-flake-lock workflow entirely
  • Delete flake.nix, flake.lock, and .envrc
  • Clean up Nix references in README, CLAUDE.md, .editorconfig, and .gitignore

Test plan

  • Verify php-cs-fixer job passes on PHP 8.2–8.4
  • Verify phpstan job passes on PHP 8.2–8.4
  • Verify phpunit job passes on PHP 8.2–8.4 with coverage
  • Verify docs workflow builds and deploys successfully
  • Verify fossa-scan workflow runs successfully

Nix added complexity and slow build times to the CI pipeline. All
workflows now use shivammathur/setup-php for PHP provisioning, which
is the standard approach for PHP projects on GitHub Actions.
@gaelreyrol gaelreyrol requested a review from a team as a code owner April 10, 2026 13:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.25%. Comparing base (c74bf59) to head (2fcc6e3).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #211      +/-   ##
============================================
+ Coverage     91.13%   91.25%   +0.11%     
- Complexity      686      692       +6     
============================================
  Files           116      116              
  Lines          2763     2789      +26     
============================================
+ Hits           2518     2545      +27     
+ Misses          245      244       -1     
Flag Coverage Δ
phpunit 91.25% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 10, 2026

Coverage Status

coverage: 91.751% (+0.07%) from 91.68% — feat/remove-nix-usage into main

@gaelreyrol gaelreyrol self-assigned this Apr 10, 2026
@gaelreyrol gaelreyrol added the github_actions Pull requests that update GitHub Actions code label Apr 10, 2026
@gaelreyrol gaelreyrol merged commit 0d0e3ea into main Apr 10, 2026
15 checks passed
@gaelreyrol gaelreyrol deleted the feat/remove-nix-usage branch April 10, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants