File tree Expand file tree Collapse file tree 5 files changed +59
-74
lines changed
Expand file tree Collapse file tree 5 files changed +59
-74
lines changed Original file line number Diff line number Diff line change 1+ name : " CI"
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ check-linux :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v6
13+
14+ - name : Install Nix
15+ uses : DeterminateSystems/nix-installer-action@v21
16+
17+ - name : Setup Nix cache
18+ uses : DeterminateSystems/magic-nix-cache-action@v13
19+ with :
20+ use-flakehub : false
21+
22+ - name : Run flake check
23+ run : nix flake check --print-build-logs
24+
25+ check-darwin :
26+ runs-on : macos-latest
27+ steps :
28+ - uses : actions/checkout@v6
29+
30+ - name : Install Nix
31+ uses : DeterminateSystems/nix-installer-action@v21
32+
33+ - name : Setup Nix cache
34+ uses : DeterminateSystems/magic-nix-cache-action@v13
35+ with :
36+ use-flakehub : false
37+
38+ - name : Run flake check
39+ run : nix flake check --print-build-logs
Original file line number Diff line number Diff line change @@ -4,28 +4,30 @@ name: "daily-update"
44# The importer is run every day at 07:00 UTC and can also be run manually from
55# the 'Actions' tab.
66on :
7- workflow_dispatch :
8- schedule :
9- - cron : " 0 7 * * *"
7+ workflow_dispatch :
8+ schedule :
9+ - cron : " 0 7 * * *"
1010
1111jobs :
12- build :
13- runs-on : ubuntu-latest
12+ build :
13+ runs-on : ubuntu-latest
1414
15- env :
16- REPO_TOKEN : ${{ secrets.REPO_TOKEN }}
15+ env :
16+ REPO_TOKEN : ${{ secrets.REPO_TOKEN }}
1717
18- steps :
19- - uses : actions/checkout@v3
18+ steps :
19+ - uses : actions/checkout@v6
2020
21- - name : Install Nix
22- uses : DeterminateSystems/nix-installer-action@v2
21+ - name : Install Nix
22+ uses : DeterminateSystems/nix-installer-action@v21
2323
24- - name : Setup Nix cache
25- uses : DeterminateSystems/magic-nix-cache-action@main
24+ - name : Setup Nix cache
25+ uses : DeterminateSystems/magic-nix-cache-action@v13
26+ with :
27+ use-flakehub : false
2628
27- - name : Run the generate script
28- run : |
29- cd generate
30- npm ci
31- nix develop --command spago run -p bin -m Bin.Main -- update ../manifests --commit
29+ - name : Run the generate script
30+ run : |
31+ cd generate
32+ npm ci
33+ nix develop --command spago run -p bin -m Bin.Main -- update ../manifests --commit
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments