-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.29 KB
/
flake-lock-update.yml
File metadata and controls
37 lines (37 loc) · 1.29 KB
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
36
37
# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/flake-lock-update.yml") and run:
# nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
locking-flake:
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@main
with:
fetch-depth: 1
persist-credentials: false
- name: Install Nix
uses: nixbuild/nix-quick-install-action@master
- name: Magic Nix Cache(Use Github Actions Cache)
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Configure to use personal binary cache @ Cachix
uses: cachix/cachix-action@master
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: divitmittal
- name: SSH-agent with auth for private repos
uses: webfactory/ssh-agent@master
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
timeout-minutes: 90
'on':
workflow_dispatch: {}