ci(check): split check-flake into another workflow

This commit is contained in:
Matt Sturgeon 2025-05-25 21:02:08 +01:00
parent 0f1c6e0d50
commit fd44fb9264
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 25 additions and 10 deletions

25
.github/workflows/check-flake.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Check Flake
on:
workflow_dispatch: # can be triggered manually
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches-ignore:
- update/*
paths-ignore:
- "LICENSE"
jobs:
flake-checker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v31
- name: Run flake checker
uses: DeterminateSystems/flake-checker-action@main

View file

@ -14,16 +14,6 @@ on:
- "LICENSE" - "LICENSE"
jobs: jobs:
flake-checker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v31
- name: Run flake checker
uses: DeterminateSystems/flake-checker-action@main
build-matrix: build-matrix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs: