infrastructure/.forgejo/workflows/nix.yml
Vivian 79c9447175
Some checks failed
Nix / lint (push) Successful in 3m29s
Plex Update / update (push) Failing after 36s
test nix in ci
2023-09-09 10:44:37 +02:00

21 lines
453 B
YAML

name: Nix
on: [push]
jobs:
lint:
runs-on: docker
env:
container:
image: ghcr.io/catthehacker/ubuntu:js-20.04
steps:
- uses: actions/checkout@v3
- uses: https://github.com/cachix/install-nix-action@v20
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