ci: pass correct args to the act test

This commit is contained in:
Sander 2025-10-08 04:22:39 +02:00
parent 0ef05056da
commit b8a94d3614
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -13,7 +13,8 @@ on:
type: string type: string
oldest_installer_version: oldest_installer_version:
description: 'Oldest supported Nix installer version to test (e.g., nix-2.8.0)' description: 'Oldest supported Nix installer version to test (e.g., nix-2.8.0)'
required: true required: false
default: 'nix-2.8.0'
type: string type: string
env: env:
@ -94,4 +95,4 @@ jobs:
with: with:
nix_path: ${{ env.nixpkgs_channel }} nix_path: ${{ env.nixpkgs_channel }}
install_url: https://releases.nixos.org/nix/${{ inputs.oldest_installer_version }}/install install_url: https://releases.nixos.org/nix/${{ inputs.oldest_installer_version }}/install
- run: nix-build tests/test-build.nix - run: nix-build tests/test-build.nix

View file

@ -65,4 +65,5 @@ jobs:
./bin/act push \ ./bin/act push \
-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-24.04 \ -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-24.04 \
-j simple-build \ -j simple-build \
--matrix os:ubuntu-latest --matrix runs-on:ubuntu-latest \
--matrix system:x86_64-linux