850cdf4c3b
* ci: jq is already part of ci environment * ci: add --accept-flake-config flag to actually use the binary cache from flake.nix
31 lines
585 B
YAML
31 lines
585 B
YAML
name: "Build flake-info"
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- "flake-info/**"
|
|
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-flake-info:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checking out the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/common-setup
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
|
|
|
|
|
|
|
- name: Building flake-info
|
|
run: |
|
|
nix --accept-flake-config -vL build .#flake-info
|