fix CI: use runs-on host, remove install-nix-action
Some checks failed
Deploy / flake-check (push) Successful in 45s
Deploy / deploy-cryodev-main (push) Failing after 1s
Deploy / build-pi-images (cryodev-pi) (push) Failing after 57s
Deploy / create-release (push) Has been skipped

Runner has label 'host' not 'docker'. Jobs were stuck in 'waiting to
run' because no runner matched the docker label. Also removed the
cachix/install-nix-action steps since Nix is already available on the
host runner.
This commit is contained in:
steffen 2026-03-14 13:56:31 +01:00
parent 8d7794a08c
commit 14d02a0c57
2 changed files with 4 additions and 24 deletions

View file

@ -4,31 +4,21 @@ on: [pull_request]
jobs:
flake-check:
runs-on: docker
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run flake check
run: nix flake check --impure
build-hosts:
needs: flake-check
runs-on: docker
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build cryodev-main
run: nix build .#nixosConfigurations.cryodev-main.config.system.build.toplevel --impure

View file

@ -7,31 +7,21 @@ on:
jobs:
flake-check:
runs-on: docker
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run flake check
run: nix flake check --impure
deploy-cryodev-main:
needs: flake-check
runs-on: docker
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Set up SSH
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_SSH_KEY }}