From 5e2ae7bbaaf8954e761d0f6cba35aa61ce8697ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 13 Oct 2024 11:52:45 +0200 Subject: [PATCH] use nix image for update --- .github/workflows/update.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 34debc0e..ed82ad31 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -5,19 +5,10 @@ on: - cron: "3 18 * * *" jobs: lockfile: - runs-on: ubuntu-latest + runs-on: nixpkgs/nix steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Nix - uses: https://github.com/cachix/install-nix-action@v30 - with: - nix_path: nixpkgs=channel:nixos-unstable - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - substituters = https://cache.nixos.org/ https://attic.chir.rs/chir-rs/ https://hydra.chir.rs/ - trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= chir-rs:rzK1Czm3RqBbZLnXYrLM6JyOhfr6Z/8lhACIPO/LNFQ= - experimental-features = nix-command flakes - name: update flake lock run: nix flake update - name: run update script