From 6fc76deedcf7434862519ef39a564b81eb678a88 Mon Sep 17 00:00:00 2001 From: rus07tam Date: Wed, 15 Apr 2026 22:45:15 +0300 Subject: [PATCH] ci: change actions to DeterminateSystems --- .forgejo/workflows/ci.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 00c2da6..48df9bb 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,16 +15,11 @@ jobs: uses: actions/checkout@v6 - name: Install Nix - uses: cachix/install-nix-action@v31 - with: - nix_path: nixpkgs=channel:nixos-unstable - extra_nix_config: | - sandbox = true + uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - - name: Enable flakes - run: | - mkdir -p ~/.config/nix - echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf + - name: Check Nix flake inputs + uses: DeterminateSystems/flake-checker-action@main - name: Setup SOPS key if: env.SOPS_AGE_KEY != '' @@ -34,12 +29,6 @@ jobs: env: SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} - - name: Flake check - run: nix flake check - - - name: Remove homeless-shelter - run: rm -rf /homeless-shelter - - name: Build all hosts run: | nix flake show --json | jq -r '