about summary refs log tree commit diff
path: root/overlays/patches/emacs/overlay/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/emacs/overlay/.github/workflows/ci.yml')
-rw-r--r--overlays/patches/emacs/overlay/.github/workflows/ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/overlays/patches/emacs/overlay/.github/workflows/ci.yml b/overlays/patches/emacs/overlay/.github/workflows/ci.yml
index 1f5ae8585799..9e0064fa0835 100644
--- a/overlays/patches/emacs/overlay/.github/workflows/ci.yml
+++ b/overlays/patches/emacs/overlay/.github/workflows/ci.yml
@@ -15,20 +15,26 @@ jobs:
       uses: actions/checkout@v2.3.4
 
     - name: Install Nix
-      uses: cachix/install-nix-action@v13
+      uses: cachix/install-nix-action@v20
       with:
-        nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz
+        nix_path: nixpkgs=channel:nixos-unstable
 
     - name: Add nix-community cache
       uses: cachix/cachix-action@v10
       with:
         name: nix-community
+        authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
 
     - name: Configure Git
       run: |
         git config user.name github-actions
         git config user.email github-actions@github.com
 
+    - name: Update flake inputs
+      run: |
+        nix flake update
+        git commit -m "Updated flake inputs" flake.lock || true
+
     - name: Update inputs
       run: |
         ./update