Apply matrix strategy

This commit is contained in:
Luc Perkins 2024-05-16 20:41:04 -03:00
parent e8f36a90cd
commit d49867b627
No known key found for this signature in database
GPG key ID: 16DB1108FB591835

View file

@ -215,9 +215,15 @@ jobs:
install-with-non-default-inputs:
name: Install Nix using non-default Action inputs
runs-on: ubuntu-22.04
strategy:
matrix:
version:
- "0.17.0"
- "0.18.0"
- "0.19.0"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
source-url: https://github.com/DeterminateSystems/nix-installer/releases/download/v0.19.0/nix-installer-x86_64-linux
source-url: https://github.com/DeterminateSystems/nix-installer/releases/download/v${{ matrix.version }}/nix-installer-x86_64-linux
- run: nix --version