26 lines
582 B
YAML
26 lines
582 B
YAML
name: Check Flake
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
jobs:
|
|
check-flake:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install sudo
|
|
run: apt-get update && apt-get install sudo wget
|
|
|
|
- run: wget https://api.github.com/repos/NixOS/nixpkgs/tarball/8dafae7c03d6aa8c2ae0a0612fbcb47e994e3fb8
|
|
|
|
- name: Install Nix
|
|
uses: https://github.com/cachix/install-nix-action@v20
|
|
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Check Flake
|
|
run: nix flake check |