Skip to content

Commit fd510d2

Browse files
authored
Merge pull request #78 from DeterminateSystems/DS-970
DS-970: Add Magic Nix Cache and other workflow changes
2 parents 4fbf969 + 1a057b7 commit fd510d2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ jobs:
1313
fetch-depth: 0
1414
- name: Install Nix
1515
uses: DeterminateSystems/nix-installer-action@main
16+
- name: Enable magic Nix cache
17+
uses: DeterminateSystems/magic-nix-cache-action@main
1618
- name: Shellcheck
1719
run: nix-shell --run 'shellcheck $(find . -type f -name "*.sh" -executable)'

.github/workflows/update.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ name: update-flake-lock
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "0 0 * * 0"
5+
- cron: '0 0 * * 0'
66

77
jobs:
88
lockfile:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
11-
- name: Checkout repository
11+
- name: Checkout
1212
uses: actions/checkout@v3
1313
- name: Install Nix
1414
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
1519
- name: Update flake.lock
1620
uses: ./.

0 commit comments

Comments
 (0)