From d666f30475528ce7f50cc3dd92a1693241083fe8 Mon Sep 17 00:00:00 2001 From: rubiigen Date: Fri, 2 Feb 2024 18:29:45 +0000 Subject: major refactor (treewide amongst general cleaning based on my modified dots (with help from notashelf) - perks 1: it works --- .github/workflows/check.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/check.yml (limited to '.github/workflows/check.yml') diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..e7560e6 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,23 @@ +name: Check Flake + +on: + workflow_dispatch: + pull_request: + paths: + - "**.nix" + - "**.lock" + - ".github/workflows/check.yml" + push: + paths: + - "**.nix" + - "**.lock" + - ".github/workflows/check.yml" + +jobs: + check: + # uses the local reusable workflow + uses: ./.github/workflows/nix.yml + secrets: + GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + command: nix flake check --accept-flake-config -- cgit v1.2.3-54-g00ecf