2024-05-07 19:07:35 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
|
2024-05-12 18:05:03 +00:00
|
|
|
env:
|
|
|
|
NIX_CONFIG: 'extra-platforms = x86_64-linux'
|
|
|
|
|
2024-05-07 17:08:41 +00:00
|
|
|
jobs:
|
|
|
|
check:
|
2024-06-11 17:49:29 +00:00
|
|
|
runs-on: ubuntu-latest-aarch64
|
2024-05-07 17:08:41 +00:00
|
|
|
steps:
|
2024-05-13 08:42:44 +00:00
|
|
|
- uses: https://github.com/docker/setup-qemu-action@v3
|
2024-05-07 17:08:41 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: https://github.com/cachix/install-nix-action@v26
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
github_access_token: '${{ secrets.GH_TOKEN }}'
|
|
|
|
- uses: https://github.com/cachix/cachix-action@v14
|
|
|
|
with:
|
|
|
|
name: kitchen
|
|
|
|
authToken: '${{ secrets.CACHIX_TOKEN }}'
|
2024-05-25 18:43:32 +00:00
|
|
|
- run: nix flake check --accept-flake-config
|