infrastructure/.forgejo/workflows/nix.yml
Vivian 1403a1b2c0
All checks were successful
Lint / lint (push) Successful in 2s
Plex Update / update (push) Successful in 14s
Nix / lint (push) Successful in 2m55s
Nix CI (#176)
Co-authored-by: Victor <victor@xirion.net>
Reviewed-on: #176
2023-06-08 09:58:00 +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