Skip to content

Commit 6354acc

Browse files
authored
Merge pull request #3 from DeterminateSystems/DS-970
DS-970: Add Magic Nix Cache and other workflow changes
2 parents ef317f4 + e76ac8c commit 6354acc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/update.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
name: update-flake-lock
22
on:
33
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * 0'
46

57
jobs:
68
lockfile:
7-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
810
steps:
9-
- name: Checkout repository
10-
uses: actions/checkout@v2
11+
- name: Checkout
12+
uses: actions/checkout@v3
1113
- name: Install Nix
12-
uses: DeterminateSystems/nix-installer-action@v1
14+
uses: DeterminateSystems/nix-installer-action@main
15+
- name: Enable magic Nix cache
16+
uses: DeterminateSystems/magic-nix-cache-action@main
17+
- name: Check flake
18+
uses: DeterminateSystems/flake-checker-action@main
1319
- name: Update flake.lock
14-
uses: DeterminateSystems/update-flake-lock@v4
20+
uses: DeterminateSystems/update-flake-lock@main

0 commit comments

Comments
 (0)