mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
github-ci: add
This commit is contained in:
parent
4c76c412da
commit
a77b786046
2 changed files with 26 additions and 1 deletions
25
.github/workflows/nix.yml
vendored
Normal file
25
.github/workflows/nix.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main, master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nix targets
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v22
|
||||
- name: Check Nix flake inputs
|
||||
uses: DeterminateSystems/flake-checker-action@v5
|
||||
with:
|
||||
ignore-missing-flake-lock: false
|
||||
fail-mode: true
|
||||
- name: Check Nix flake
|
||||
run: nix flake check
|
||||
# - name: Build Nix packages
|
||||
# run: nix build
|
|
@ -1,4 +1,4 @@
|
|||
# nixos-config [](https://builtwithnix.org)
|
||||
# nixos-config [](https://builtwithnix.org)
|
||||
|
||||
This repository holds my NixOS configuration.
|
||||
It is fully reproducible, flakes based, and position-independent, ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue