From 92f9cee0db9220a0afef061539bc93887b7f0c0c Mon Sep 17 00:00:00 2001 From: Sebastian Estrella <2049686+sestrella@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:58:32 -0500 Subject: [PATCH] Build packages on different jobs --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0231385..70dd529 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,17 @@ jobs: strategy: matrix: os: - - macos-latest + # - macos-latest - ubuntu-latest + packages: + - name: terraform-1_6_2 + allow_unfree: 1 + - name: terraform-1_6_1 + allow_unfree: 1 + - name: terraform-1_6_0 + allow_unfree: 1 + - name: terraform-1_5_7 + allow_unfree: 0 runs-on: ${{ matrix.os }} steps: @@ -22,6 +31,6 @@ jobs: with: name: nixpkgs-terraform authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - run: nix flake check --impure + - run: nix build --impure .#${{ matrix.package.name }} env: - NIXPKGS_ALLOW_UNFREE: 1 + NIXPKGS_ALLOW_UNFREE: ${{ matrix.package.allow_unfree }}