Skip to content

Commit

Permalink
feat(ci): Use magic-nix-cache-action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Nov 16, 2023
1 parent a1f72a8 commit cd0de2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: nix-community
- name: add nix-community cache
run: cachix use nix-community
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: update flake.lock
run: nix flake update
- name: Create Pull Request
Expand Down

0 comments on commit cd0de2f

Please sign in to comment.