use nix image for update
All checks were successful
update-riscv / pr (push) Successful in 3s

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-13 11:52:45 +02:00
parent 7a7b7456ee
commit 5e2ae7bbaa

View file

@ -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