Skip to content

Commit 83335b3

Browse files
remove garnix, use github actions (#126)
1 parent bf46279 commit 83335b3

File tree

5 files changed

+59
-74
lines changed

5 files changed

+59
-74
lines changed

.github/workflows/ci.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

.github/workflows/daily-update.yaml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff 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.
66
on:
7-
workflow_dispatch:
8-
schedule:
9-
- cron: "0 7 * * *"
7+
workflow_dispatch:
8+
schedule:
9+
- cron: "0 7 * * *"
1010

1111
jobs:
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

.github/workflows/darwin-support.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/nix-unit-tests.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

garnix.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)