Use Determinate Systems' nix caching action
This commit is contained in:
		@ -29,14 +29,7 @@ jobs:
 | 
			
		||||
            cabal-
 | 
			
		||||
 | 
			
		||||
      - name: Set up cache for Nix
 | 
			
		||||
        uses: actions/cache@v4
 | 
			
		||||
        with:
 | 
			
		||||
          path: |
 | 
			
		||||
            /nix/store
 | 
			
		||||
            /nix/var/nix/cache
 | 
			
		||||
          key: nix-${{ hashFiles('flake.lock') }}
 | 
			
		||||
          restore-keys: |
 | 
			
		||||
            nix-
 | 
			
		||||
        uses: DeterminateSystems/magic-nix-cache-action@v2
 | 
			
		||||
 | 
			
		||||
      - name: Initialize Cabal and update package list
 | 
			
		||||
        run: |
 | 
			
		||||
@ -59,14 +52,7 @@ jobs:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
      - name: Set up cache for Nix
 | 
			
		||||
        uses: actions/cache@v4
 | 
			
		||||
        with:
 | 
			
		||||
          path: |
 | 
			
		||||
            /nix/store
 | 
			
		||||
            /nix/var/nix/cache
 | 
			
		||||
          key: nix-${{ hashFiles('flake.lock') }}
 | 
			
		||||
          restore-keys: |
 | 
			
		||||
            nix-
 | 
			
		||||
        uses: DeterminateSystems/magic-nix-cache-action@v2
 | 
			
		||||
  
 | 
			
		||||
      - name: Build and shrink binary
 | 
			
		||||
        run: |
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user