Skip to content

Commit

Permalink
Merge pull request #1011 from kachick/uninstall-magic-cache
Browse files Browse the repository at this point in the history
Remove magic-nix-cache-action and cache-clean logics
  • Loading branch information
kachick authored Dec 30, 2024
2 parents ae037f5 + f07e709 commit 05491e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 70 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: DeterminateSystems/nix-installer-action@v16
# Don't use DeterminateSystems/magic-nix-cache-action for Linux until https://github.com/DeterminateSystems/magic-nix-cache-action/issues/26 is supported
- uses: DeterminateSystems/magic-nix-cache-action@v8
# Always slow. Especially since GH-924
if: runner.os == 'macOS' && runner.arch == 'X64'
# Don't use DeterminateSystems/magic-nix-cache-action until https://github.com/DeterminateSystems/magic-nix-cache-action/issues/26 is supported
- name: Print some dotfiles overviews
run: |
</etc/nix/nix.conf
Expand Down
65 changes: 0 additions & 65 deletions .github/workflows/cleanup-caches.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cmd/gen_matrix/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
paths = rest
line = strings.TrimSuffix(line, "\r")

if strings.Contains(line, "darwin") || line == "home-manager/packages.nix" || line == "flake.nix" {
if strings.Contains(line, "darwin") || line == ".github/workflows/ci-home.yml" || line == "home-manager/packages.nix" || line == "flake.nix" {
higherMacOSPossibility = true
}
}
Expand Down

0 comments on commit 05491e3

Please sign in to comment.