2023-06-08 09:58:00 +02:00
|
|
|
name: Nix
|
|
|
|
|
2023-09-09 16:18:16 +02:00
|
|
|
# on: [push]
|
|
|
|
|
2023-06-08 09:58:00 +02:00
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: docker
|
|
|
|
env:
|
|
|
|
container:
|
|
|
|
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-09-10 09:26:19 +02:00
|
|
|
- name: Check Nix flake inputs
|
|
|
|
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
|
2023-09-09 16:18:16 +02:00
|
|
|
- uses: https://github.com/cachix/install-nix-action@v22
|
2023-06-08 09:58:00 +02:00
|
|
|
env:
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- name: Run `nix flake check`
|
|
|
|
run: |
|
|
|
|
sed -i '/^access-tokens/ d' /etc/nix/nix.conf
|
|
|
|
nix run '.#' -- -V
|