[PR #2575] [MERGED] Replace magic-nix-cache-action #2740

Closed
opened 2025-12-29 04:18:43 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2575
Author: @Hasnep
Created: 5/9/2025
Status: Merged
Merged: 5/26/2025
Merged by: @kradalby

Base: mainHead: replace-magic-nix-cache-action


📝 Commits (1)

  • 0c502a0 Replace magic-nix-cache-action

📊 Changes

6 files changed (+45 additions, -18 deletions)

View changed files

📝 .github/workflows/build.yml (+10 -4)
📝 .github/workflows/check-tests.yaml (+5 -2)
📝 .github/workflows/lint.yml (+15 -6)
📝 .github/workflows/release.yml (+5 -2)
📝 .github/workflows/test-integration.yaml (+5 -2)
📝 .github/workflows/test.yml (+5 -2)

📄 Description

Headscale is open to code contributions for bug fixes without discussion.

Hopefully this counts as a bug fix 😅 If not, I'm happy to close the PR and discuss the change :)

The DeterminateSystems/magic-nix-cache-action action has been deprecated and no longer works. This PR replaces it with the nix-community/cache-nix-action action, which is actively maintained. It also replaces the DeterminateSystems/nix-installer-action action with the nixbuild/nix-quick-install-action action, which is required for the cache action to work. The cache has been configured to restore based on the runner's OS and architecture, so it should work on any runner.

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2575 **Author:** [@Hasnep](https://github.com/Hasnep) **Created:** 5/9/2025 **Status:** ✅ Merged **Merged:** 5/26/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `replace-magic-nix-cache-action` --- ### 📝 Commits (1) - [`0c502a0`](https://github.com/juanfont/headscale/commit/0c502a09a75bd90f867c5d920f32785593fd24d2) Replace magic-nix-cache-action ### 📊 Changes **6 files changed** (+45 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+10 -4) 📝 `.github/workflows/check-tests.yaml` (+5 -2) 📝 `.github/workflows/lint.yml` (+15 -6) 📝 `.github/workflows/release.yml` (+5 -2) 📝 `.github/workflows/test-integration.yaml` (+5 -2) 📝 `.github/workflows/test.yml` (+5 -2) </details> ### 📄 Description > Headscale is open to code contributions for bug fixes without discussion. Hopefully this counts as a bug fix 😅 If not, I'm happy to close the PR and discuss the change :) The `DeterminateSystems/magic-nix-cache-action` action has been [deprecated](https://determinate.systems/posts/magic-nix-cache-free-tier-eol/) and no longer works. This PR replaces it with the `nix-community/cache-nix-action` action, which is actively maintained. It also replaces the `DeterminateSystems/nix-installer-action` action with the `nixbuild/nix-quick-install-action` action, which is required for the cache action to work. The cache has been configured to restore based on the runner's OS and architecture, so it should work on any runner. - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:18:43 +01:00
adam closed this issue 2025-12-29 04:18:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2740