Skip to content

Commit

Permalink
ci: Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHDTech authored and MAHDTech committed Mar 28, 2024
1 parent 89ed9c0 commit 1076314
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

- id: install_nix
name: "Install Nix ❄️"
uses: nixbuild/nix-quick-install-action@v27
uses: cachix/install-nix-action@v26

- id: cachix
name: "Enable Cachix ❄️"
Expand All @@ -117,16 +117,8 @@ jobs:
skipPush: false

- id: cache
name: Nix store cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size-linux: 1073741824
purge: true
purge-prefixes: cache-${{ runner.os }}-
purge-created: 0
purge-primary-key: never
name: Magix Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main

- id: install_devenv
name: Install devenv
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- id: install_nix
name: "Install Nix ❄️"
uses: nixbuild/nix-quick-install-action@v27
uses: cachix/install-nix-action@v26

- id: cachix
name: "Enable Cachix ❄️"
Expand All @@ -78,16 +78,8 @@ jobs:
skipPush: false

- id: cache
name: Nix store cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size-linux: 1073741824
purge: true
purge-prefixes: cache-${{ runner.os }}-
purge-created: 0
purge-primary-key: never
name: Magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main

- id: install_devenv
name: Install devenv
Expand Down

0 comments on commit 1076314

Please sign in to comment.