Skip to content

Commit d3d0d5e

Browse files
committed
DS-970: Add Magic Nix Cache and other workflow changes
An assortment of GitHub Workflow changes, potentially including: - Enable DeterminateSystems/magic-nix-cache-action@main - Reference all DeterminateSystems actions via @main - Make update.yaml consistent across repos - Remove unnecessary github-token: from nix-installer-action - Update actions/checkout@v2 to actions/checkout@v3
1 parent ef317f4 commit d3d0d5e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/update.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
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: Install Nix
12-
uses: DeterminateSystems/nix-installer-action@v1
1311
- name: Update flake.lock
14-
uses: DeterminateSystems/update-flake-lock@v4
12+
uses: actions/checkout@v3
13+
- uses: DeterminateSystems/nix-installer-action@main
14+
- uses: DeterminateSystems/magic-nix-cache-action@main
15+
- uses: DeterminateSystems/flake-checker-action@main
16+
- uses: DeterminateSystems/update-flake-lock@main

0 commit comments

Comments
 (0)