Skip to content

Commit

Permalink
Shorter matrix argument
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Jun 18, 2024
1 parent 23ae7cf commit 9838b61
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
./trac2gitea --help 2>&1 | grep -q '^Usage' \
&& echo 'PASS' \
|| { echo 'FAIL'; exit 1; }
nix:
name: Nix
runs-on: ubuntu-22.04
Expand All @@ -74,9 +75,9 @@ jobs:
contents: read
strategy:
matrix:
nix_path:
- nixpkgs=channel:nixos-stable
- nixpkgs=channel:nixos-unstable
nix_channel:
- nixos-stable
- nixos-unstable
steps:
- name: Checkout
id: checkout
Expand All @@ -86,7 +87,7 @@ jobs:
id: install_nix
uses: cachix/install-nix-action@v27
with:
nix_path: ${{ matrix.nix_path }}
nix_path: nixpkgs=channel:${{ matrix.nix_channel }}

- name: Check
id: check
Expand Down

0 comments on commit 9838b61

Please sign in to comment.