rice/.forgejo/workflows/ci.yaml
buffet 144ef81199
All checks were successful
/ check (pull_request) Successful in 2m20s
ci: use ubuntu-latest-aarch64 instead of ubuntu-latest
2024-06-11 19:49:29 +02:00

24 lines
646 B
YAML

on:
push:
branches:
- main
pull_request:
env:
NIX_CONFIG: 'extra-platforms = x86_64-linux'
jobs:
check:
runs-on: ubuntu-latest-aarch64
steps:
- uses: https://github.com/docker/setup-qemu-action@v3
- 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 }}'
- run: nix flake check --accept-flake-config