summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-16 12:55:13 -0500
committerseth <[email protected]>2023-12-16 12:57:12 -0500
commit02401e7506d908fc0988603658666f0ee5c5b550 (patch)
treed8be1b96c9fed709c11c7a6ea3b0e1e4b59c1983 /.github/workflows
parent7eec527d1a19a7b66b4d1b3b7122d6afa1271255 (diff)
ci: start using cachix
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml26
1 files changed, 8 insertions, 18 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bfc7cf4..d927c48 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -55,16 +55,11 @@ jobs:
with:
extra-conf: "extra-platforms = aarch64-linux arm-linux"
- - name: Setup local Nix cache
- uses: DeterminateSystems/magic-nix-cache-action@v2
-
- - name: Setup Attic cache
- uses: ryanccn/attic-action@v0
+ - name: Setup Cachix
+ uses: cachix/cachix-action@v12
with:
- endpoint: https://cache.mydadleft.me
- cache: nix-exprs
- token: ${{ secrets.ATTIC_TOKEN }}
- skip-push: ${{ github.event_name == 'pull_request' }}
+ name: getchoo
+ authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run build
run: |
@@ -85,16 +80,11 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v9
- - name: Setup local Nix cache
- uses: DeterminateSystems/magic-nix-cache-action@v2
-
- - name: Setup Attic cache
- uses: ryanccn/attic-action@v0
+ - name: Setup Cachix
+ uses: cachix/cachix-action@v12
with:
- endpoint: https://cache.mydadleft.me
- cache: nix-exprs
- token: ${{ secrets.ATTIC_TOKEN }}
- skip-push: ${{ github.event_name == 'pull_request' }}
+ name: getchoo
+ authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run check
run: nix flake check --show-trace --accept-flake-config