28 lines
644 B
YAML
28 lines
644 B
YAML
name: Check Flake
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
jobs:
|
|
check-flake:
|
|
runs-on: ubuntu-latest
|
|
container: ubuntu:latest
|
|
steps:
|
|
- name: Install basic dependencies
|
|
run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz
|
|
|
|
- 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: Get ENV var names
|
|
run: printenv | cut -d'=' -f1
|
|
|
|
- name: Check Flake
|
|
run: nix flake check --show-trace |