Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

feat(git): add pu for syncing forked repos. #374

feat(git): add pu for syncing forked repos.

feat(git): add pu for syncing forked repos. #374

Workflow file for this run

name: Nix Flake
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
self-care:
name: Flake self-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v7
with:
fail-mode: true
config-tests:
name: "${{ matrix.os-name }} Nix Test"
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
os-name: "Framework Laptop"
flake-attr: nixosConfigurations.framework.config.system.build.toplevel
- os: ubuntu-latest
os-name: "Nvidia Desktop"
flake-attr: nixosConfigurations.desktop.config.system.build.toplevel
- os: macos-latest
os-name: "macOS x86"
flake-attr: darwinConfigurations.macbook_x86.config.system.build.toplevel
- os: macos-14
os-name: "macOS Apple Silicon"
flake-attr: darwinConfigurations.macbook.config.system.build.toplevel
steps:
- name: "Checkout Repo"
uses: actions/checkout@v4
- name: "Install Nix"
uses: DeterminateSystems/nix-installer-action@v11
- name: "Nix Cache"
uses: DeterminateSystems/magic-nix-cache-action@v6
- name: "Test Nix config"
run: nix build --dry-run -L '.#${{ matrix.flake-attr }}' --show-trace