Setup Cachix workflow

main
Carsten Kragelund 2023-05-07 19:20:04 +02:00
parent b0ee28f2ab
commit ea57862bf4
Signed by: nyx
GPG Key ID: CADDADEEC9F753C0
1 changed files with 5 additions and 4 deletions

@ -9,7 +9,7 @@ on:
# rebuild everyday at 2:51
# TIP: Choose a random time here so not all repositories are build at once:
# https://www.random.org/clock-times/?num=1&earliest=01%3A00&latest=08%3A00&interval=5&format=html&rnd=new
- cron: '51 2 * * *'
- cron: '50 1 * * *'
jobs:
tests:
strategy:
@ -20,7 +20,7 @@ jobs:
# The repo name as used in
# https://github.com/nix-community/NUR/blob/master/repos.json
nurRepo:
- <YOUR_REPO_NAME>
- sanctureplicum
# Set this to cache your build results in cachix for faster builds
# in CI and for everyone who uses your cache.
#
@ -32,11 +32,12 @@ jobs:
# Github found at
# https://github.com/<your_githubname>/nur-packages/settings/secrets
cachixName:
- <YOUR_CACHIX_NAME>
- sanctureplicum
nixPath:
- nixpkgs=channel:nixos-unstable
- nixpkgs=channel:nixpkgs-unstable
- nixpkgs=channel:nixos-22.11
# FIXME: Gitea on stable is using different patches.
# - nixpkgs=channel:nixos-22.11
runs-on: ubuntu-latest
steps:
- name: Checkout repository