Skip to content

chore(flake): update (#16721) #61081

chore(flake): update (#16721)

chore(flake): update (#16721) #61081

Workflow file for this run

# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/ci.yaml") and run:
# nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
group: ci-${{ github.head_ref || github.ref_name }}
jobs:
build:
environment: ci
name: ${{ matrix.attrs.name }} (${{ matrix.attrs.hostPlatform }})
runs-on: ${{ matrix.attrs.runsOn }}
steps:
- uses: wimpysworld/nothing-but-nix@687c797a730352432950c707ab493fcc951818d7
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- uses: cachix/install-nix-action@96951a368ba55167b55f1c916f7d416bac6505fe
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7
with:
key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
}}
path: ~/.cache/nix
restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community
name: bbigras-nix-config
- name: nix-fast-build
run: nix run 'git+file:.#nix-fast-build' -- --no-nom --skip-cached --retries=3
--option accept-flake-config true --flake='git+file:.#${{ matrix.attrs.attr
}}'
strategy:
fail-fast: false
matrix:
attrs:
- attr: nixosConfigurations.desktop.config.system.build.toplevel
hostPlatform: x86_64-linux
name: desktop
runsOn: ubuntu-24.04
- attr: nixosConfigurations.laptop.config.system.build.toplevel
hostPlatform: x86_64-linux
name: laptop
runsOn: ubuntu-24.04
- attr: nixosConfigurations.work.config.system.build.toplevel
hostPlatform: x86_64-linux
name: work
runsOn: ubuntu-24.04
timeout-minutes: 60
check:
if: always()
needs:
- flake-check
- build
runs-on: ubuntu-24.04
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
with:
jobs: ${{ toJSON(needs) }}
timeout-minutes: 60
flake-check:
environment: ci
name: flake check (${{ matrix.systems.platform }})
runs-on: ${{ matrix.systems.os }}
steps:
- uses: wimpysworld/nothing-but-nix@687c797a730352432950c707ab493fcc951818d7
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- uses: cachix/install-nix-action@96951a368ba55167b55f1c916f7d416bac6505fe
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7
with:
key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
}}
path: ~/.cache/nix
restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community
name: bbigras-nix-config
- name: nix flake check
run: nix flake check 'git+file:.'
- name: nix flake show
run: nix flake show 'git+file:.'
strategy:
matrix:
systems:
- os: ubuntu-24.04
platform: x86_64-linux
timeout-minutes: 60
name: ci
'on':
pull_request: {}
push:
branches:
- master
- try
workflow_dispatch: {}
permissions: {}