ooknet/.github/workflows/check.yaml

29 lines
812 B
YAML

name: "Nix Flake Check"
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- outputs/pkgs/**
- .github/**
concurrency:
group: ooknet-check-${{ github.ref }}
cancel-in-progress: true
jobs:
nix-flake-check:
name: Evaluate Flake
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure git
run: |
git config --global url."https://github.com/".insteadOf "git@github.com:"
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
- name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Nix Flake
run: nix flake check