mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
add flake check
This commit is contained in:
parent
dab9d5a28a
commit
db4f9abc9d
2 changed files with 23 additions and 0 deletions
7
.github/dependabot.yml
vendored
Normal file
7
.github/dependabot.yml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
16
.github/workflows/check.yml
vendored
Normal file
16
.github/workflows/check.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: "Check flake"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "**.nix"
|
||||||
|
- "**.lock"
|
||||||
|
- ".github/workflows/check.yml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: cachix/install-nix-action@v22
|
||||||
|
- run: nix flake check --show-trace --accept-flake-config
|
||||||
Loading…
Add table
Add a link
Reference in a new issue