-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (58 loc) · 1.71 KB
/
channel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Guix channel
on:
push:
branches: [ "main" ]
paths-ignore:
- README.md
- LICENSE
- 'scripts/**'
- 'etc/**'
pull_request:
branches: [ "main" ]
paths-ignore:
- README.md
- LICENSE
- 'scripts/**'
- 'etc/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Guix cache
uses: actions/cache@v3
with:
path: ~/.cache/guix
# use a key that (almost) never matches
key: guix-cache-${{ github.sha }}
restore-keys: |
guix-cache-
- name: Install Guix
id: install-guix
uses: PromyLOPh/guix-install-action@v1
with:
channels: |-
(list
(channel
(name 'small-guix)
(url "https://gitlab.com/orang3/small-guix")
(introduction
(make-channel-introduction
"f260da13666cd41ae3202270784e61e062a3999c"
(openpgp-fingerprint
"8D10 60B9 6BB8 292E 829B 7249 AED4 1CC1 93B7 01E2"))))
(channel
(name 'pot)
(url "https://github.com/fishinthecalculator/pot")
(branch "main")
(introduction
(make-channel-introduction
"10ed759852825149eb4b08c9b75777111a92048e"
(openpgp-fingerprint
"97A2 CB8F B066 F894 9928 CF80 DE9B E0AC E824 6F08"))))
%default-guix-channel)
- name: Build pot.git
run: guix build -L "${PWD}/.guix/modules" pot.git
- name: Lint pot.git
run: guix lint -L "${PWD}/.guix/modules" pot.git