Skip to content

build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 #13

build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0

build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 #13

name: Nix Flake actions
on:
pull_request:
push:
branches:
- master
- main
jobs:
nix-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- id: set-matrix
name: Generate Nix Matrix
run: |
set -Eeu
echo "matrix=$(nix eval --json '.#githubActions.matrix')" >> "$GITHUB_OUTPUT"
nix-build:
needs: nix-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix: ${{fromJSON(needs.nix-matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: vdemeester
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build -L ".#${{ matrix.attr }}"