infrastructure/.forgejo/workflows/nix.yml
Vivian bf5c223068
All checks were successful
Lint / lint (push) Successful in 2s
Plex Update / update (push) Successful in 8s
Update '.forgejo/workflows/nix.yml'
2023-06-08 16:53:41 +02:00

19 lines
441 B
YAML

name: Nix
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