mirror of
https://github.com/numtide/flake-utils.git
synced 2024-12-14 11:47:31 +00:00
ci: add GitHub Actions check (#6)
This commit is contained in:
parent
8e1f14e82d
commit
0c686c77c4
2 changed files with 22 additions and 0 deletions
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
16
.github/workflows/nix.yml
vendored
Normal file
16
.github/workflows/nix.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Nix
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
# Nix Flakes doesn't work on shallow clones
|
||||
fetch-depth: 0
|
||||
- uses: cachix/install-nix-action@v10
|
||||
with:
|
||||
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20200618_377345e/install
|
||||
- run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
|
||||
- run: nix flake check
|
Loading…
Reference in a new issue