infrastructure/.forgejo/workflows/nix.yml
Vivian 6bb7fc9f84
All checks were successful
Plex Update / update (push) Successful in 1m19s
Lint / lint (push) Successful in 1m12s
fix flake checker action
2023-09-10 09:26:19 +02:00

23 lines
568 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
- name: Check Nix flake inputs
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
- uses: https://github.com/cachix/install-nix-action@v22
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