-
-
Notifications
You must be signed in to change notification settings - Fork 20
35 lines (31 loc) · 1.1 KB
/
deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Update Nix dependencies
on:
schedule:
# Sunday and Wednesday
- cron: '42 4 * * 0,3'
workflow_dispatch:
jobs:
update-deps-conservative:
runs-on: ubuntu-latest
permissions:
# So that `create-pull-request` can... create a pull request :)
# https://github.com/peter-evans/create-pull-request#action-inputs
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
system-features = benchmark big-parallel kvm nixos-test uid-range
- name: update lockfiles
run: nix run '.#devshell' -- update-deps-conservative
- name: create PR
uses: peter-evans/create-pull-request@v5
with:
branch: create-pull-request/update-nix-deps
title: '[create-pull-request] Update Nix dependencies'
body: |
Update Nix dependencies in `Gemfile.nix.lock` and `gemset.nix`.
Auto-generated by [create-pull-request][1].
[1]: https://github.com/peter-evans/create-pull-request