From 9bdda6bfba9b2bac45fb3203d197c5e159bc0ce6 Mon Sep 17 00:00:00 2001 From: nydragon Date: Sat, 1 Mar 2025 15:11:55 +0100 Subject: [PATCH] chore: add nix runner --- .forgejo/workflows/ci.yaml | 8 ++++---- hosts/raptus/forgejo/runner.nix | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 8f92fb9..e49d5d6 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -2,8 +2,8 @@ on: [push] jobs: test: - runs-on: debian-latest - container: - image: ghcr.io/nydragon/runner:latest + runs-on: nix-latest steps: - - run: nix flake check --verbose + - run: nix --experimental-features 'nix-command flakes' profile install nixpkgs#nodejs-slim + - uses: actions/checkout@v4 + - run: nix --experimental-features 'nix-command flakes' flake check --verbose diff --git a/hosts/raptus/forgejo/runner.nix b/hosts/raptus/forgejo/runner.nix index 160dd64..d1a6508 100644 --- a/hosts/raptus/forgejo/runner.nix +++ b/hosts/raptus/forgejo/runner.nix @@ -24,6 +24,7 @@ in labels = [ "debian-latest:docker://node:18-bullseye" "ubuntu-latest:docker://node:18-bullseye" + "nix-latest:docker://nixos/nix:latest" ]; settings = {