forked from BastianAsmussen/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 781 Bytes
/
check.yml
File metadata and controls
34 lines (27 loc) · 781 Bytes
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
name: Flake Check
on:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: "read"
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: extra-platforms = aarch64-linux
- uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup SSH Key
run: |
install -m 700 -d ~/.ssh
echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -t ed25519 codeberg.org >> ~/.ssh/known_hosts
- name: Nix Flake Check
run: nix flake check --all-systems